Details

Time bar (total: 2.0s)

sample25.0ms

Algorithm
intervals
Results
10.0ms311×body80valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0113
1243
2523
3883
41023
51023

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 4.4b

localize12.0ms

Local error

Found 1 expressions with local error:

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

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

series65.0ms

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

simplify66.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 3 (62.0ms)

IterNodesCost
0151195
1598171
22506166
35003160

prune68.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 4.2b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt associate-*r*
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
associate-*l* distribute-rgt-neg-out
expm1-log1p-u log1p-expm1-u
+-commutative distribute-lft-neg-in neg-mul-1 fma-def distribute-rgt-neg-in flip3-+ unsub-neg pow-prod-down prod-exp sum-log *-commutative cbrt-unprod flip-+ distribute-lft-out unswap-sqr
Counts
2 → 41
Calls
2 calls:
3.0ms
(+ (* x 1.0) (* x (- (* y z))))
5.0ms
(* x (- (* y z)))

series84.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0191224
11076197
25002193

prune121.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 y) (- z)))
5.1b
(* (* x y) (- z))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
10×associate-*r*
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
add-log-exp
distribute-lft-neg-in distribute-rgt-neg-in pow-prod-down prod-exp distribute-rgt-neg-out cbrt-unprod
expm1-log1p-u log1p-expm1-u
+-commutative neg-mul-1 fma-def flip3-+ associate-*l* unsub-neg sum-log *-commutative flip-+
Counts
2 → 44
Calls
2 calls:
3.0ms
(+ (* x 1.0) (* (* x y) (- z)))
8.0ms
(* (* x y) (- z))

series84.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0249239
11347210
25001202

prune115.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

5.1b
(* (* x y) (- z))
11.3b
(cbrt (* (* x y) (- z)))
11.3b
(cbrt (* (* x y) (- z)))
11.3b
(cbrt (* (* x y) (- z)))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
10×associate-*r*
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-prod distribute-lft-neg-in distribute-rgt-neg-in pow1/3 pow-prod-down prod-exp cbrt-unprod
neg-mul-1 associate-*l* *-commutative distribute-rgt-neg-out
Counts
4 → 61
Calls
4 calls:
9.0ms
(* (* x y) (- z))
6.0ms
(cbrt (* (* x y) (- z)))
6.0ms
(cbrt (* (* x y) (- z)))
6.0ms
(cbrt (* (* x y) (- z)))

series327.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(* (* x y) (- z))
99.0ms
(cbrt (* (* x y) (- z)))
101.0ms
(cbrt (* (* x y) (- z)))
102.0ms
(cbrt (* (* x y) (- z)))

simplify36.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0250408
11107366
25001348

prune220.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 0.0b

regimes206.0ms

Accuracy

80.8% (0.9b remaining)

Error of 0.9b against oracle of 0.0b and baseline of 4.7b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03612
14612
25212
35212

end0.0ms

sample400.0ms

Algorithm
intervals
Results
202.0ms9562×body80valid