Details

Time bar (total: 4.8s)

sample22.0ms

Algorithm
intervals
Results
9.0ms339×body80valid

simplify201.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0144
1344
2844
32064
44064
55404
67064
79574
814584
923844
1036584
1140314
1244294
1350024

prune2.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)))

rewrite17.0ms

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

series44.0ms

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

simplify76.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
0139165
1584143
22608137
35003137

prune47.0ms

Pruning

5 alts after pruning (4 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))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt *-un-lft-identity associate-*r*
distribute-rgt-in sub-neg associate-+r+ distribute-lft-in add-log-exp
add-cube-cbrt pow-prod-down prod-exp cbrt-unprod
associate-*r/
+-commutative flip3-- flip3-+ associate-*l* sum-log *-commutative flip-- flip-+ distribute-lft-out-- difference-of-squares
Counts
2 → 41
Calls
2 calls:
9.0ms
(+ (* x 1.0) (* (* x z) (- y 1.0)))
26.0ms
(* (* x z) (- y 1.0))

series100.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0257266
11177224
25002219

prune80.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

localize10.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))))

rewrite300.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
add-log-exp unswap-sqr
*-commutative
pow-sqr pow-prod-up
pow2 pow-plus
Counts
4 → 159
Calls
4 calls:
4.0ms
(cbrt (- y 1.0))
35.0ms
(* (cbrt (- y 1.0)) (cbrt (- y 1.0)))
194.0ms
(* (* (* x z) (* (cbrt (- y 1.0)) (cbrt (- y 1.0)))) (cbrt (- y 1.0)))
57.0ms
(* (* x z) (* (cbrt (- y 1.0)) (cbrt (- y 1.0))))

series417.0ms

Counts
4 → 12
Calls
4 calls:
90.0ms
(cbrt (- y 1.0))
113.0ms
(* (cbrt (- y 1.0)) (cbrt (- y 1.0)))
64.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))))

simplify102.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 2 (82.0ms)

IterNodesCost
07871899
133051673
250021575

prune374.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0b

localize18.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)))

rewrite977.0ms

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
add-log-exp
pow-unpow distribute-lft-out-- difference-of-squares
pow-pow pow1/3 associate-*l* *-commutative
sqr-pow
Counts
4 → 149
Calls
4 calls:
4.0ms
(cbrt (- y 1.0))
10.0ms
(pow (cbrt (cbrt (- y 1.0))) 4)
737.0ms
(* (* (* x z) (* (* (cbrt (cbrt (- y 1.0))) (cbrt (cbrt (- y 1.0)))) (pow (cbrt (cbrt (- y 1.0))) 4))) (cbrt (- y 1.0)))
213.0ms
(* (* x z) (* (* (cbrt (cbrt (- y 1.0))) (cbrt (cbrt (- y 1.0)))) (pow (cbrt (cbrt (- y 1.0))) 4)))

series502.0ms

Counts
4 → 12
Calls
4 calls:
94.0ms
(cbrt (- y 1.0))
193.0ms
(pow (cbrt (cbrt (- y 1.0))) 4)
66.0ms
(* (* (* x z) (* (* (cbrt (cbrt (- y 1.0))) (cbrt (cbrt (- y 1.0)))) (pow (cbrt (cbrt (- y 1.0))) 4))) (cbrt (- y 1.0)))
149.0ms
(* (* x z) (* (* (cbrt (cbrt (- y 1.0))) (cbrt (cbrt (- y 1.0)))) (pow (cbrt (cbrt (- y 1.0))) 4)))

simplify133.0ms

Algorithm
egg-herbie
Counts
161 → 161
Iterations

Useful iterations: 2 (106.0ms)

IterNodesCost
010142848
140492242
250012087

prune498.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0b

regimes268.0ms

Accuracy

92.4% (0.1b remaining)

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

bsearch63.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

sample487.0ms

Algorithm
intervals
Results
214.0ms10063×body80valid