Details

Time bar (total: 3.3s)

sample20.0ms

Algorithm
intervals
Results
8.0ms315×body80valid

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0113
1243
2463
3713
4793
5793

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 4.1b

localize5.0ms

Local error

Found 1 expressions with local error:

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

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

series50.0ms

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

simplify63.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0122127
1493111
21989111
35001111

prune61.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 3.9b

localize7.0ms

Local error

Found 2 expressions with local error:

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

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

series82.0ms

Counts
2 → 6
Calls
2 calls:
56.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

prune98.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt x)
0.6b
(cbrt x)
2.9b
(* (cbrt x) (- (* y z)))
5.3b
(* (* (cbrt x) (cbrt x)) (* (cbrt x) (- (* y z))))

rewrite63.0ms

Algorithm
rewrite-expression-head
Rules
18×pow1 add-exp-log
13×add-sqr-sqrt
11×add-cbrt-cube
10×cbrt-prod
add-cube-cbrt *-un-lft-identity pow-prod-down prod-exp cbrt-unprod
associate-*r* associate-*l*
add-log-exp
distribute-rgt-neg-out
pow1/3 *-commutative unswap-sqr
distribute-lft-neg-in neg-mul-1 distribute-rgt-neg-in
Counts
4 → 71
Calls
4 calls:
1.0ms
(cbrt x)
1.0ms
(cbrt x)
13.0ms
(* (cbrt x) (- (* y z)))
46.0ms
(* (* (cbrt x) (cbrt x)) (* (cbrt x) (- (* y z))))

series783.0ms

Counts
4 → 12
Calls
4 calls:
421.0ms
(cbrt x)
187.0ms
(cbrt x)
123.0ms
(* (cbrt x) (- (* y z)))
52.0ms
(* (* (cbrt x) (cbrt x)) (* (cbrt x) (- (* y z))))

simplify60.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0231476
11253383
25001345

prune234.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

5.3b
(* (* (cbrt x) (cbrt x)) (* (* (cbrt x) (* (cbrt (- (* y z))) (cbrt (- (* y z))))) (cbrt (- (* y z)))))
14.0b
(cbrt (- (* y z)))
14.0b
(cbrt (- (* y z)))
14.0b
(cbrt (- (* y z)))

rewrite296.0ms

Algorithm
rewrite-expression-head
Rules
36×pow1 add-exp-log
29×pow-prod-down
24×prod-exp cbrt-unprod
18×cbrt-prod
14×add-cbrt-cube
pow1/3
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
add-log-exp
distribute-lft-neg-in neg-mul-1 distribute-rgt-neg-in
associate-*r* associate-*l* *-commutative
Counts
4 → 77
Calls
4 calls:
287.0ms
(* (* (cbrt x) (cbrt x)) (* (* (cbrt x) (* (cbrt (- (* y z))) (cbrt (- (* y z))))) (cbrt (- (* y z)))))
2.0ms
(cbrt (- (* y z)))
2.0ms
(cbrt (- (* y z)))
2.0ms
(cbrt (- (* y z)))

series394.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
03251058
11323740
25001533

prune272.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

regimes165.0ms

Accuracy

94% (0.2b remaining)

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

bsearch2.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03612
14912
25312
35312

end0.0ms

sample459.0ms

Algorithm
intervals
Results
185.0ms9529×body80valid