Details

Time bar (total: 2.2s)

sample16.0ms

Algorithm
intervals
Results
7.0ms311×body80valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0113
1243
2463
3713
4793
5793

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 4.1b

localize6.0ms

Local error

Found 1 expressions with local error:

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

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity associate-*r* associate-*l* add-cbrt-cube
distribute-rgt-in sub-neg distribute-lft-in associate-*r/
flip3-- pow-prod-down prod-exp *-commutative flip-- cbrt-unprod add-log-exp unswap-sqr
Counts
1 → 24
Calls
1 calls:
5.0ms
(* x (- 1.0 (* y z)))

series52.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0122127
1493111
21989111
35001111

prune59.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 3.9b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite9.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
+-commutative distribute-lft-neg-in neg-mul-1 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 → 36
Calls
2 calls:
3.0ms
(+ (* x 1.0) (* x (- (* y z))))
5.0ms
(* x (- (* y z)))

series83.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0181204
11018178
25001174

prune99.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite10.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
+-commutative neg-mul-1 flip3-+ associate-*l* unsub-neg sum-log *-commutative flip-+
Counts
2 → 39
Calls
2 calls:
4.0ms
(+ (* x 1.0) (* (* x y) (- z)))
6.0ms
(* (* x y) (- z))

series83.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0239220
11295193
25001183

prune108.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt z)
0.6b
(cbrt z)
1.4b
(* (* (* x y) (- (* (cbrt z) (cbrt z)))) (cbrt z))
3.2b
(* (* x y) (- (* (cbrt z) (cbrt z))))

rewrite19.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
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 → 69
Calls
4 calls:
1.0ms
(cbrt z)
1.0ms
(cbrt z)
9.0ms
(* (* (* x y) (- (* (cbrt z) (cbrt z)))) (cbrt z))
6.0ms
(* (* x y) (- (* (cbrt z) (cbrt z))))

series532.0ms

Counts
4 → 12
Calls
4 calls:
180.0ms
(cbrt z)
184.0ms
(cbrt z)
46.0ms
(* (* (* x y) (- (* (cbrt z) (cbrt z)))) (cbrt z))
122.0ms
(* (* x y) (- (* (cbrt z) (cbrt z))))

simplify58.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0278536
11666418
25001373

prune207.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 0.0b

regimes220.0ms

Accuracy

95.3% (0.2b remaining)

Error of 0.2b 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

sample409.0ms

Algorithm
intervals
Results
219.0ms9640×body80valid