Details

Time bar (total: 12.8s)

sample230.0ms

Algorithm
intervals
Results
103.0ms1501×body80nan
37.0ms479×body80valid

simplify50.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (5.0ms)

IterNodesCost
03210
16510
21818
35228
422038
550028

prune11.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.3b

localize17.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (- t 1.0) (log a))
0.3b
(* y (log z))
0.9b
(exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))
1.2b
(/ (* x (exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))) y)

rewrite125.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
19×*-un-lft-identity
15×add-cube-cbrt
13×add-cbrt-cube
12×add-exp-log log-prod
10×pow1 add-log-exp
associate-*r* associate-*l*
distribute-rgt-in distribute-lft-in
exp-prod
times-frac exp-sum prod-exp associate-/r* cbrt-unprod rem-exp-log
cbrt-undiv exp-diff diff-log div-exp pow-prod-down associate-*l/ log-pow *-commutative distribute-lft-out-- difference-of-squares unswap-sqr
sub-neg flip3-- frac-2neg associate-*r/ associate--l+ clear-num sum-log flip-- div-inv associate-/l/ associate-/l*
Counts
4 → 95
Calls
4 calls:
11.0ms
(* (- t 1.0) (log a))
4.0ms
(* y (log z))
31.0ms
(exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))
77.0ms
(/ (* x (exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))) y)

series388.0ms

Counts
4 → 12
Calls
4 calls:
63.0ms
(* (- t 1.0) (log a))
38.0ms
(* y (log z))
116.0ms
(exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))
171.0ms
(/ (* x (exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))) y)

simplify54.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0493869
12033715
25001683

prune367.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize23.0ms

Local error

Found 4 expressions with local error:

0.0b
(exp (+ (* y (log (/ 1 z))) (+ (* (log (/ 1 a)) t) b)))
0.2b
(* (log (/ 1 a)) t)
0.3b
(* y (log (/ 1 z)))
1.2b
(/ (* x (/ (pow (/ 1 a) 1.0) (exp (+ (* y (log (/ 1 z))) (+ (* (log (/ 1 a)) t) b))))) y)

rewrite145.0ms

Algorithm
rewrite-expression-head
Rules
31×add-exp-log
29×add-sqr-sqrt
26×log-prod
25×add-cube-cbrt *-un-lft-identity
21×times-frac
17×add-cbrt-cube
16×div-exp
13×distribute-rgt-in distribute-lft-in
12×pow1
10×add-log-exp
associate-*r* associate-*l* prod-exp
log-pow
cbrt-undiv pow-exp cbrt-unprod
exp-prod associate-/r* sum-log div-inv rem-exp-log
pow-flip log-rec pow-prod-down *-commutative inv-pow unswap-sqr
distribute-lft-neg-out pow-to-exp rec-exp frac-2neg 1-exp associate-*r/ exp-sum clear-num distribute-rgt-neg-out associate-/l/ associate-/l*
Counts
4 → 113
Calls
4 calls:
35.0ms
(exp (+ (* y (log (/ 1 z))) (+ (* (log (/ 1 a)) t) b)))
4.0ms
(* (log (/ 1 a)) t)
7.0ms
(* y (log (/ 1 z)))
94.0ms
(/ (* x (/ (pow (/ 1 a) 1.0) (exp (+ (* y (log (/ 1 z))) (+ (* (log (/ 1 a)) t) b))))) y)

series540.0ms

Counts
4 → 12
Calls
4 calls:
90.0ms
(exp (+ (* y (log (/ 1 z))) (+ (* (log (/ 1 a)) t) b)))
62.0ms
(* (log (/ 1 a)) t)
45.0ms
(* y (log (/ 1 z)))
343.0ms
(/ (* x (/ (pow (/ 1 a) 1.0) (exp (+ (* y (log (/ 1 z))) (+ (* (log (/ 1 a)) t) b))))) y)

simplify66.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
06421214
126931003
25001972

prune627.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize24.0ms

Local error

Found 4 expressions with local error:

0.0b
(exp (+ (* -1 (* (log z) y)) (+ (* (log (/ 1 a)) t) b)))
0.2b
(* (log (/ 1 a)) t)
0.3b
(* (log z) y)
1.2b
(/ (* x (/ (pow (/ 1 a) 1.0) (exp (+ (* -1 (* (log z) y)) (+ (* (log (/ 1 a)) t) b))))) y)

rewrite169.0ms

Algorithm
rewrite-expression-head
Rules
31×add-exp-log
17×add-cbrt-cube
16×div-exp
15×add-sqr-sqrt
11×pow1 add-cube-cbrt *-un-lft-identity
10×associate-*l* add-log-exp
prod-exp
associate-*r*
cbrt-undiv pow-exp log-pow cbrt-unprod
exp-prod times-frac associate-/r* sum-log rem-exp-log
pow-prod-down *-commutative unswap-sqr
distribute-lft-neg-out pow-to-exp rec-exp pow-flip frac-2neg 1-exp associate-*r/ exp-sum log-rec clear-num div-inv associate-/l/ associate-/l* inv-pow
Counts
4 → 84
Calls
4 calls:
45.0ms
(exp (+ (* -1 (* (log z) y)) (+ (* (log (/ 1 a)) t) b)))
4.0ms
(* (log (/ 1 a)) t)
3.0ms
(* (log z) y)
114.0ms
(/ (* x (/ (pow (/ 1 a) 1.0) (exp (+ (* -1 (* (log z) y)) (+ (* (log (/ 1 a)) t) b))))) y)

series552.0ms

Counts
4 → 12
Calls
4 calls:
95.0ms
(exp (+ (* -1 (* (log z) y)) (+ (* (log (/ 1 a)) t) b)))
65.0ms
(* (log (/ 1 a)) t)
65.0ms
(* (log z) y)
326.0ms
(/ (* x (/ (pow (/ 1 a) 1.0) (exp (+ (* -1 (* (log z) y)) (+ (* (log (/ 1 a)) t) b))))) y)

simplify53.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0528951
12106760
25002728

prune361.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize20.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (pow (/ 1 a) 1.0) (* (* (pow (/ 1 a) t) (exp b)) (pow (/ 1 z) y)))
0.0b
(/ (/ (pow (/ 1 a) 1.0) (* (* (pow (/ 1 a) t) (exp b)) (pow (/ 1 z) y))) y)
0.4b
(* (* (pow (/ 1 a) t) (exp b)) (pow (/ 1 z) y))
1.5b
(* x (/ (/ (pow (/ 1 a) 1.0) (* (* (pow (/ 1 a) t) (exp b)) (pow (/ 1 z) y))) y))

rewrite380.0ms

Algorithm
rewrite-expression-head
Rules
3173×add-exp-log
2044×div-exp
1742×prod-exp
1504×pow-exp
376×pow-to-exp rec-exp 1-exp
353×times-frac
141×add-sqr-sqrt
136×add-cube-cbrt *-un-lft-identity
130×unpow-prod-down
84×associate-*r*
52×add-cbrt-cube
38×associate-/l*
20×div-inv
17×cbrt-undiv cbrt-unprod
10×sqr-pow
pow1
associate-*l* associate-/r* add-log-exp
frac-2neg clear-num *-commutative unswap-sqr
associate-*r/ pow-prod-down associate-/l/
Counts
4 → 1084
Calls
4 calls:
41.0ms
(/ (pow (/ 1 a) 1.0) (* (* (pow (/ 1 a) t) (exp b)) (pow (/ 1 z) y)))
56.0ms
(/ (/ (pow (/ 1 a) 1.0) (* (* (pow (/ 1 a) t) (exp b)) (pow (/ 1 z) y))) y)
32.0ms
(* (* (pow (/ 1 a) t) (exp b)) (pow (/ 1 z) y))
132.0ms
(* x (/ (/ (pow (/ 1 a) 1.0) (* (* (pow (/ 1 a) t) (exp b)) (pow (/ 1 z) y))) y))

series1.2s

Counts
4 → 12
Calls
4 calls:
325.0ms
(/ (pow (/ 1 a) 1.0) (* (* (pow (/ 1 a) t) (exp b)) (pow (/ 1 z) y)))
357.0ms
(/ (/ (pow (/ 1 a) 1.0) (* (* (pow (/ 1 a) t) (exp b)) (pow (/ 1 z) y))) y)
133.0ms
(* (* (pow (/ 1 a) t) (exp b)) (pow (/ 1 z) y))
375.0ms
(* x (/ (/ (pow (/ 1 a) 1.0) (* (* (pow (/ 1 a) t) (exp b)) (pow (/ 1 z) y))) y))

simplify176.0ms

Algorithm
egg-herbie
Counts
1096 → 1096
Iterations

Useful iterations: 1 (36.0ms)

IterNodesCost
0311314954
1500213334

prune1.2s

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

regimes288.0ms

Accuracy

0% (1.1b remaining)

Error of 1.2b against oracle of 0.1b and baseline of 1.2b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03114
13714
23714

end0.0ms

sample5.7s

Algorithm
intervals
Results
2.6s45275×body80nan
999.0ms14960×body80valid