Details

Time bar (total: 3.9s)

sample19.0ms

Algorithm
intervals
Results
7.0ms336×body80valid

simplify141.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 8 (45.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: 3.1b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(- 1.0 (* (- 1.0 y) z))
0.0b
(* (- 1.0 y) z)
2.9b
(* x (- 1.0 (* (- 1.0 y) z)))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
13×*-un-lft-identity
11×add-cube-cbrt
prod-diff
associate-*l*
pow1 add-exp-log add-cbrt-cube
associate-*r*
distribute-rgt-in distribute-lft-in add-log-exp
expm1-log1p-u sub-neg flip3-- fma-neg flip-- log1p-expm1-u
associate-*r/ pow-prod-down associate-*l/ prod-exp *-commutative cbrt-unprod unswap-sqr
diff-log distribute-lft-out-- difference-of-squares
Counts
3 → 76
Calls
3 calls:
6.0ms
(- 1.0 (* (- 1.0 y) z))
20.0ms
(* (- 1.0 y) z)
18.0ms
(* x (- 1.0 (* (- 1.0 y) z)))

series89.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0271480
11078415
25001399

prune158.0ms

Pruning

7 alts after pruning (6 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)))
4.1b
(* (* x z) (- y 1.0))

rewrite49.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)))
29.0ms
(* (* x z) (- y 1.0))

series99.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0448736
11854512
25001506

prune147.0ms

Pruning

9 alts after pruning (7 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))
1.1b
(* (* (* x z) (* (cbrt (- y 1.0)) (cbrt (- y 1.0)))) (cbrt (- y 1.0)))
3.1b
(* (* x z) (* (cbrt (- y 1.0)) (cbrt (- y 1.0))))

rewrite271.0ms

Algorithm
rewrite-expression-head
Rules
70×cbrt-div
42×associate-*r/
35×flip3-- flip--
34×pow1 add-exp-log
32×frac-times
21×pow-prod-down prod-exp add-cbrt-cube cbrt-unprod
16×associate-*l/
15×cbrt-prod
14×add-sqr-sqrt *-un-lft-identity
associate-*r*
add-cube-cbrt
expm1-log1p-u log1p-expm1-u add-log-exp
distribute-lft-out-- difference-of-squares
pow1/3 associate-*l* *-commutative
Counts
4 → 126
Calls
4 calls:
4.0ms
(cbrt (- y 1.0))
4.0ms
(cbrt (- y 1.0))
197.0ms
(* (* (* x z) (* (cbrt (- y 1.0)) (cbrt (- y 1.0)))) (cbrt (- y 1.0)))
58.0ms
(* (* x z) (* (cbrt (- y 1.0)) (cbrt (- y 1.0))))

series390.0ms

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

simplify77.0ms

Algorithm
egg-herbie
Counts
138 → 138
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
06831597
126601386
250011313

prune334.0ms

Pruning

9 alts after pruning (6 fresh and 3 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

4.1b
(* (* x z) (- y 1.0))
7.3b
(cbrt (* (* x z) (- y 1.0)))
7.3b
(cbrt (* (* x z) (- y 1.0)))
7.3b
(cbrt (* (* x z) (- y 1.0)))

rewrite81.0ms

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt *-un-lft-identity
18×prod-diff
17×add-cube-cbrt
11×distribute-rgt-in distribute-lft-in
pow1 add-exp-log add-cbrt-cube
associate-*r/
cbrt-div
associate-*r*
expm1-log1p-u flip3-- flip-- log1p-expm1-u add-log-exp
cbrt-prod pow1/3 pow-prod-down prod-exp cbrt-unprod
sub-neg
associate-*l* *-commutative distribute-lft-out-- difference-of-squares
Counts
4 → 85
Calls
4 calls:
30.0ms
(* (* x z) (- y 1.0))
15.0ms
(cbrt (* (* x z) (- y 1.0)))
15.0ms
(cbrt (* (* x z) (- y 1.0)))
18.0ms
(cbrt (* (* x z) (- y 1.0)))

series595.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(* (* x z) (- y 1.0))
185.0ms
(cbrt (* (* x z) (- y 1.0)))
182.0ms
(cbrt (* (* x z) (- y 1.0)))
185.0ms
(cbrt (* (* x z) (- y 1.0)))

simplify65.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
04911055
11922856
25001844

prune268.0ms

Pruning

9 alts after pruning (5 fresh and 4 done)

Merged error: 0b

regimes327.0ms

Accuracy

85.8% (0.2b remaining)

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

bsearch65.0ms

Steps
ItersRangePoint
9
1.8034992792673283e-93
9.357404911228539e-86
4.6177819333441916e-88
8
-8.786492695459696e-39
-4.9707969110282474e-42
-1.2483158484967966e-39

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0289
1289

end0.0ms

sample505.0ms

Algorithm
intervals
Results
230.0ms10191×body80valid