Details

Time bar (total: 3.9s)

sample25.0ms

Algorithm
intervals
Results
14.0ms311×body80valid

simplify156.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 8 (54.0ms)

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

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 2.9b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
10×*-un-lft-identity
add-cube-cbrt associate-*l*
pow1 add-exp-log associate-*r* prod-diff add-cbrt-cube
distribute-rgt-in distribute-lft-in
expm1-log1p-u sub-neg flip3-- associate-*r/ pow-prod-down associate-*l/ prod-exp *-commutative flip-- cbrt-unprod log1p-expm1-u add-log-exp unswap-sqr
distribute-lft-out-- difference-of-squares
Counts
2 → 56
Calls
2 calls:
10.0ms
(* (- 1.0 y) z)
8.0ms
(* x (- 1.0 (* (- 1.0 y) z)))

series86.0ms

Counts
2 → 6
Calls
2 calls:
32.0ms
(* (- 1.0 y) z)
54.0ms
(* x (- 1.0 (* (- 1.0 y) z)))

simplify42.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0244345
11005301
25001292

prune131.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.6b
(* (* x z) (- y 1.0))

rewrite24.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:
6.0ms
(+ (* x 1.0) (* (* x z) (- y 1.0)))
14.0ms
(* (* x z) (- y 1.0))

series120.0ms

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

simplify64.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
0448736
11854512
25001506

prune173.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

3.6b
(* (* x z) (- y 1.0))
7.8b
(cbrt (* (* x z) (- y 1.0)))
7.8b
(cbrt (* (* x z) (- y 1.0)))
7.8b
(cbrt (* (* x z) (- y 1.0)))

rewrite38.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:
13.0ms
(* (* x z) (- y 1.0))
7.0ms
(cbrt (* (* x z) (- y 1.0)))
7.0ms
(cbrt (* (* x z) (- y 1.0)))
7.0ms
(cbrt (* (* x z) (- y 1.0)))

series703.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(* (* x z) (- y 1.0))
212.0ms
(cbrt (* (* x z) (- y 1.0)))
228.0ms
(cbrt (* (* x z) (- y 1.0)))
215.0ms
(cbrt (* (* x z) (- y 1.0)))

simplify64.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
04911055
11922856
25001844

prune302.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

3.6b
(* (* x z) (- y 1.0))
7.8b
(cbrt (* (* x z) (- y 1.0)))
7.8b
(cbrt (* (* x z) (- y 1.0)))
11.5b
(cbrt (* x z))

rewrite37.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/
associate-*r*
expm1-log1p-u cbrt-div log1p-expm1-u add-log-exp
cbrt-prod flip3-- pow1/3 pow-prod-down prod-exp flip-- cbrt-unprod
sub-neg
associate-*l* *-commutative distribute-lft-out-- difference-of-squares
Counts
4 → 83
Calls
4 calls:
14.0ms
(* (* x z) (- y 1.0))
7.0ms
(cbrt (* (* x z) (- y 1.0)))
11.0ms
(cbrt (* (* x z) (- y 1.0)))
2.0ms
(cbrt (* x z))

series590.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(* (* x z) (- y 1.0))
227.0ms
(cbrt (* (* x z) (- y 1.0)))
220.0ms
(cbrt (* (* x z) (- y 1.0)))
81.0ms
(cbrt (* x z))

simplify65.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
0530905
12008714
25001702

prune325.0ms

Pruning

5 alts after pruning (1 fresh and 4 done)

Merged error: 0.0b

regimes215.0ms

Accuracy

96.8% (0.1b remaining)

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

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02817
12817

end0.0ms

sample713.0ms

Algorithm
intervals
Results
480.0ms10175×body80valid