Details

Time bar (total: 5.1s)

sample23.0ms

Algorithm
intervals
Results
10.0ms339×body80valid

simplify137.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 8 (44.0ms)

IterNodesCost
0144
1344
2924
32324
44914
57854
611154
714824
822183
933493
1048193
1150013

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 4.1b

localize6.0ms

Local error

Found 1 expressions with local error:

3.9b
(* x (- 1.0 (* (- 1.0 y) z)))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
prod-diff
distribute-rgt-in add-cube-cbrt *-un-lft-identity distribute-lft-in
pow1 add-exp-log associate-*r* associate-*l* add-cbrt-cube
sub-neg associate-*r/
expm1-log1p-u flip3-- pow-prod-down prod-exp *-commutative flip-- cbrt-unprod log1p-expm1-u add-log-exp unswap-sqr
Counts
1 → 32
Calls
1 calls:
18.0ms
(* x (- 1.0 (* (- 1.0 y) z)))

series46.0ms

Counts
1 → 3
Calls
1 calls:
46.0ms
(* x (- 1.0 (* (- 1.0 y) z)))

simplify90.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0169253
1710217
23487206
35002206

prune61.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x 1.0) (* (* x z) (- y 1.0)))
3.5b
(* (* x z) (- y 1.0))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
36×prod-diff
29×add-sqr-sqrt *-un-lft-identity
27×add-cube-cbrt
22×distribute-rgt-in associate-+r+ distribute-lft-in
pow1 add-exp-log add-cbrt-cube
associate-*r*
sub-neg add-log-exp
pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u associate-*r/ log1p-expm1-u
+-commutative flip3-- fma-def flip3-+ associate-*l* sum-log *-commutative flip-- flip-+ distribute-lft-out-- difference-of-squares
Counts
2 → 82
Calls
2 calls:
13.0ms
(+ (* x 1.0) (* (* x z) (- y 1.0)))
33.0ms
(* (* x z) (- y 1.0))

series104.0ms

Counts
2 → 6
Calls
2 calls:
60.0ms
(+ (* x 1.0) (* (* x z) (- y 1.0)))
43.0ms
(* (* x z) (- y 1.0))

simplify58.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0448736
11854512
25001506

prune161.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (- y 1.0))
0.3b
(* (cbrt (- y 1.0)) (cbrt (- y 1.0)))
0.8b
(* (* (* x z) (* (cbrt (- y 1.0)) (cbrt (- y 1.0)))) (cbrt (- y 1.0)))
2.6b
(* (* x z) (* (cbrt (- y 1.0)) (cbrt (- y 1.0))))

rewrite322.0ms

Algorithm
rewrite-expression-head
Rules
80×cbrt-div
44×associate-*r/
41×pow1
40×flip3-- flip--
38×cbrt-prod
36×add-exp-log frac-times
35×add-sqr-sqrt
33×*-un-lft-identity
23×pow-prod-down
22×prod-exp cbrt-unprod
21×add-cbrt-cube
18×associate-*l/
17×associate-*r*
15×add-cube-cbrt
10×swap-sqr associate-*l*
distribute-lft-out--
pow1/3
difference-of-squares
expm1-log1p-u log1p-expm1-u add-log-exp unswap-sqr
*-commutative
pow-sqr pow-prod-up
pow2 pow-plus
Counts
4 → 167
Calls
4 calls:
4.0ms
(cbrt (- y 1.0))
38.0ms
(* (cbrt (- y 1.0)) (cbrt (- y 1.0)))
208.0ms
(* (* (* x z) (* (cbrt (- y 1.0)) (cbrt (- y 1.0)))) (cbrt (- y 1.0)))
63.0ms
(* (* x z) (* (cbrt (- y 1.0)) (cbrt (- y 1.0))))

series420.0ms

Counts
4 → 12
Calls
4 calls:
90.0ms
(cbrt (- y 1.0))
111.0ms
(* (cbrt (- y 1.0)) (cbrt (- y 1.0)))
68.0ms
(* (* (* x z) (* (cbrt (- y 1.0)) (cbrt (- y 1.0)))) (cbrt (- y 1.0)))
150.0ms
(* (* x z) (* (cbrt (- y 1.0)) (cbrt (- y 1.0))))

simplify105.0ms

Algorithm
egg-herbie
Counts
179 → 179
Iterations

Useful iterations: 2 (82.0ms)

IterNodesCost
08111950
134181719
250021611

prune412.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (- y 1.0))
0.5b
(pow (cbrt (cbrt (- y 1.0))) 4)
0.8b
(* (* (* x z) (* (* (cbrt (cbrt (- y 1.0))) (cbrt (cbrt (- y 1.0)))) (pow (cbrt (cbrt (- y 1.0))) 4))) (cbrt (- y 1.0)))
2.6b
(* (* x z) (* (* (cbrt (cbrt (- y 1.0))) (cbrt (cbrt (- y 1.0)))) (pow (cbrt (cbrt (- y 1.0))) 4)))

rewrite1.0s

Algorithm
rewrite-expression-head
Rules
119×add-exp-log
116×cbrt-div
93×prod-exp
48×associate-*l/
42×associate-*r/
39×add-cbrt-cube
37×cbrt-unprod
34×flip3-- flip--
32×frac-times
23×cbrt-prod
19×pow1
17×add-sqr-sqrt *-un-lft-identity
11×add-cube-cbrt unpow-prod-down
pow-to-exp associate-*r* pow-prod-down pow-exp
expm1-log1p-u log1p-expm1-u add-log-exp
pow-unpow distribute-lft-out-- difference-of-squares
pow-pow pow1/3 associate-*l* *-commutative
sqr-pow
Counts
4 → 157
Calls
4 calls:
4.0ms
(cbrt (- y 1.0))
10.0ms
(pow (cbrt (cbrt (- y 1.0))) 4)
770.0ms
(* (* (* x z) (* (* (cbrt (cbrt (- y 1.0))) (cbrt (cbrt (- y 1.0)))) (pow (cbrt (cbrt (- y 1.0))) 4))) (cbrt (- y 1.0)))
226.0ms
(* (* x z) (* (* (cbrt (cbrt (- y 1.0))) (cbrt (cbrt (- y 1.0)))) (pow (cbrt (cbrt (- y 1.0))) 4)))

series498.0ms

Counts
4 → 12
Calls
4 calls:
90.0ms
(cbrt (- y 1.0))
193.0ms
(pow (cbrt (cbrt (- y 1.0))) 4)
61.0ms
(* (* (* x z) (* (* (cbrt (cbrt (- y 1.0))) (cbrt (cbrt (- y 1.0)))) (pow (cbrt (cbrt (- y 1.0))) 4))) (cbrt (- y 1.0)))
153.0ms
(* (* x z) (* (* (cbrt (cbrt (- y 1.0))) (cbrt (cbrt (- y 1.0)))) (pow (cbrt (cbrt (- y 1.0))) 4)))

simplify130.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (109.0ms)

IterNodesCost
010382706
144672169
250022120

prune559.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0b

regimes277.0ms

Accuracy

92.6% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 1.6b

bsearch68.0ms

Steps
ItersRangePoint
10
1.0083976401382498e+30
1.4044517758064935e+43
1.4399917448371046e+34
7
-1.1395047706326794e-44
-4.1713472715665954e-46
-3.329374264349993e-45

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0289
1289

end0.0ms

sample478.0ms

Algorithm
intervals
Results
218.0ms10063×body80valid