Details

Time bar (total: 4.3s)

sample31.0ms

Algorithm
intervals
Results
12.0ms376×body80valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0267
1576
2956
31166
41186
51186

prune8.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (+ (+ x (* y z)) (* t a)) (* (* a z) b))
0.0b
(+ x (* y z))
0.0b
(+ (+ x (* y z)) (* t a))
6.6b
(* (* a z) b)

rewrite132.0ms

Algorithm
rewrite-expression-head
Rules
20×add-log-exp
10×sum-log
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
+-commutative flip3-+ associate-*r* pow-prod-down prod-exp cbrt-unprod flip-+
associate-+l+
associate-*l* *-commutative
Counts
4 → 56
Calls
4 calls:
87.0ms
(+ (+ (+ x (* y z)) (* t a)) (* (* a z) b))
5.0ms
(+ x (* y z))
22.0ms
(+ (+ x (* y z)) (* t a))
17.0ms
(* (* a z) b)

series165.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(+ (+ (+ x (* y z)) (* t a)) (* (* a z) b))
22.0ms
(+ x (* y z))
43.0ms
(+ (+ x (* y z)) (* t a))
22.0ms
(* (* a z) b)

simplify51.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0335378
11670347
25002342

prune168.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* z b) t)
0.0b
(+ x (* y z))
0.0b
(+ (+ x (* y z)) (* a (+ (* z b) t)))
2.6b
(* a (+ (* z b) t))

rewrite67.0ms

Algorithm
rewrite-expression-head
Rules
13×add-log-exp
add-sqr-sqrt flip3-+ flip-+
pow1 add-exp-log add-cube-cbrt *-un-lft-identity associate-*r/ add-cbrt-cube
sum-log
frac-add
+-commutative associate-*r* associate-*l*
distribute-rgt-in associate-+r+ distribute-lft-in
associate-+l+ pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 63
Calls
4 calls:
7.0ms
(+ (* z b) t)
5.0ms
(+ x (* y z))
25.0ms
(+ (+ x (* y z)) (* a (+ (* z b) t)))
28.0ms
(* a (+ (* z b) t))

series149.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(+ (* z b) t)
21.0ms
(+ x (* y z))
74.0ms
(+ (+ x (* y z)) (* a (+ (* z b) t)))
36.0ms
(* a (+ (* z b) t))

simplify51.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0381497
11810468
25001468

prune192.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

2.6b
(* a (+ (* z b) t))
5.0b
(cbrt (* a (+ (* z b) t)))
5.0b
(cbrt (* a (+ (* z b) t)))
5.0b
(cbrt (* a (+ (* z b) t)))

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt associate-*r/
pow1 add-exp-log add-cube-cbrt cbrt-div *-un-lft-identity add-cbrt-cube
flip3-+ flip-+ add-log-exp
cbrt-prod pow1/3 associate-*r* associate-*l*
distribute-rgt-in distribute-lft-in pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 55
Calls
4 calls:
24.0ms
(* a (+ (* z b) t))
9.0ms
(cbrt (* a (+ (* z b) t)))
12.0ms
(cbrt (* a (+ (* z b) t)))
9.0ms
(cbrt (* a (+ (* z b) t)))

series378.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(* a (+ (* z b) t))
114.0ms
(cbrt (* a (+ (* z b) t)))
118.0ms
(cbrt (* a (+ (* z b) t)))
113.0ms
(cbrt (* a (+ (* z b) t)))

simplify94.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 3 (89.0ms)

IterNodesCost
0247432
1913391
23627376
35002373

prune256.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (+ (+ (+ x (* y z)) (* t a)) (* (* a z) b))) (cbrt (+ (+ (+ x (* y z)) (* t a)) (* (* a z) b))))
6.6b
(* (* a z) b)
6.6b
(* (* a z) b)
6.6b
(* (* a z) b)

rewrite613.0ms

Algorithm
rewrite-expression-head
Rules
26×pow1
23×add-sqr-sqrt
21×add-exp-log
19×add-cbrt-cube
16×cbrt-prod
15×add-cube-cbrt *-un-lft-identity associate-*r*
12×cbrt-div
11×pow-prod-down
10×prod-exp cbrt-unprod
associate-*l*
flip3-+ pow1/3 swap-sqr flip-+
frac-times *-commutative add-log-exp unswap-sqr
associate-*r/ associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus
Counts
4 → 102
Calls
4 calls:
385.0ms
(* (cbrt (+ (+ (+ x (* y z)) (* t a)) (* (* a z) b))) (cbrt (+ (+ (+ x (* y z)) (* t a)) (* (* a z) b))))
17.0ms
(* (* a z) b)
191.0ms
(* (* a z) b)
17.0ms
(* (* a z) b)

series269.0ms

Counts
4 → 12
Calls
4 calls:
200.0ms
(* (cbrt (+ (+ (+ x (* y z)) (* t a)) (* (* a z) b))) (cbrt (+ (+ (+ x (* y z)) (* t a)) (* (* a z) b))))
22.0ms
(* (* a z) b)
25.0ms
(* (* a z) b)
23.0ms
(* (* a z) b)

simplify56.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
03351314
115091213
250011114

prune297.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0b

regimes252.0ms

Accuracy

35.1% (1.4b remaining)

Error of 1.4b against oracle of 0.0b and baseline of 2.1b

bsearch54.0ms

Steps
ItersRangePoint
10
-1.4753640966609568e+103
-8.868044934391e+89
-7.187269496377903e+90

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03113
13113

end0.0ms

sample912.0ms

Algorithm
intervals
Results
395.0ms11887×body80valid