Details

Time bar (total: 2.4s)

sample17.0ms

Algorithm
intervals
Results
6.0ms311×body80valid

simplify12.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: 3.6b

localize8.0ms

Local error

Found 1 expressions with local error:

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

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

series50.0ms

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

simplify68.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 3 (65.0ms)

IterNodesCost
0151195
1598171
22506166
35003160

prune67.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 3.5b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite20.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:
8.0ms
(+ (* x 1.0) (* x (- (* y z))))
11.0ms
(* x (- (* y z)))

series87.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0191224
11076197
25002193

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

rewrite31.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:
8.0ms
(+ (* x 1.0) (* (* x y) (- z)))
22.0ms
(* (* x y) (- z))

series88.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0249239
11347210
25001202

prune108.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.6b
(cbrt z)
0.6b
(cbrt z)
1.3b
(* (* (* x y) (- (* (cbrt z) (cbrt z)))) (cbrt z))
3.5b
(* (* x y) (- (* (cbrt z) (cbrt z))))

rewrite93.0ms

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

series534.0ms

Counts
4 → 12
Calls
4 calls:
182.0ms
(cbrt z)
184.0ms
(cbrt z)
47.0ms
(* (* (* x y) (- (* (cbrt z) (cbrt z)))) (cbrt z))
121.0ms
(* (* x y) (- (* (cbrt z) (cbrt z))))

simplify57.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0284576
11672458
25001413

prune211.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0.0b

regimes170.0ms

Accuracy

28.9% (3.1b remaining)

Error of 3.1b against oracle of 0.0b and baseline of 4.4b

bsearch88.0ms

Steps
ItersRangePoint
9
7.057869729618484e+225
9.095231353254208e+232
6.198127841043233e+226
7
1.8980477485594379e+71
5.5416632979428064e+72
1.960803050623658e+71
8
-1.4282685127697635e+140
-1.0540944006331587e+136
-3.671253073044598e+138

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 1 (1.0ms)

IterNodesCost
03920
15210
26110
36110

end0.0ms

sample421.0ms

Algorithm
intervals
Results
176.0ms9565×body80valid