Details

Time bar (total: 3.4s)

sample18.0ms

Algorithm
intervals
Results
7.0ms325×body80valid

simplify164.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 8 (57.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: 3.4b

localize9.0ms

Local error

Found 2 expressions with local error:

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

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

series88.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0244345
11005301
25001292

prune123.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 2 expressions with local error:

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

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

series122.0ms

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

simplify71.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
0448736
11854512
25001506

prune164.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt z)
0.5b
(cbrt z)
0.5b
(cbrt z)
3.2b
(* x (- 1.0 (* (* (- 1.0 y) (* (cbrt z) (cbrt z))) (cbrt z))))

rewrite12.0ms

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

series653.0ms

Counts
4 → 12
Calls
4 calls:
184.0ms
(cbrt z)
188.0ms
(cbrt z)
184.0ms
(cbrt z)
96.0ms
(* x (- 1.0 (* (* (- 1.0 y) (* (cbrt z) (cbrt z))) (cbrt z))))

simplify46.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0212632
1932516
25002397

prune232.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

3.4b
(* (* x z) (- y 1.0))
3.4b
(* (* x z) (- y 1.0))
5.2b
(sqrt (* (* x z) (- y 1.0)))
5.2b
(sqrt (* (* x z) (- y 1.0)))

rewrite42.0ms

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

series429.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(* (* x z) (- y 1.0))
51.0ms
(* (* x z) (- y 1.0))
160.0ms
(sqrt (* (* x z) (- y 1.0)))
162.0ms
(sqrt (* (* x z) (- y 1.0)))

simplify57.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
03501052
11451740
25001712

prune267.0ms

Pruning

5 alts after pruning (1 fresh and 4 done)

Merged error: 0.0b

regimes292.0ms

Accuracy

87.3% (0.2b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 1.5b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02817
12817

end0.0ms

sample493.0ms

Algorithm
intervals
Results
260.0ms10109×body80valid