Details

Time bar (total: 4.7s)

sample59.0ms

Algorithm
intervals
Results
43.0ms111×body10240exit
6.0ms256×body80valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
075
175

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.8b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (exp a) (exp b))
0.7b
(/ (exp a) (+ (exp a) (exp b)))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
21×*-un-lft-identity
12×times-frac
11×add-sqr-sqrt add-cube-cbrt
distribute-lft-out
associate-/r* add-cbrt-cube add-log-exp
add-exp-log associate-/l*
pow1 flip3-+ associate-/r/ flip-+
cbrt-undiv +-commutative frac-2neg div-exp clear-num sum-log div-inv
Counts
2 → 45
Calls
2 calls:
4.0ms
(+ (exp a) (exp b))
8.0ms
(/ (exp a) (+ (exp a) (exp b)))

series50.0ms

Counts
2 → 6
Calls
2 calls:
18.0ms
(+ (exp a) (exp b))
32.0ms
(/ (exp a) (+ (exp a) (exp b)))

simplify95.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
0163384
1486357
21239355
34158355
45001355

prune111.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.5b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(- a (log (+ (exp a) (exp b))))
0.0b
(+ (exp a) (exp b))
2.9b
(log (+ (exp a) (exp b)))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
14×*-un-lft-identity
log-prod
add-sqr-sqrt
add-log-exp
pow1 add-cube-cbrt
add-exp-log log-div associate--r+
flip3-+ add-cbrt-cube flip-+ distribute-lft-out
log-pow distribute-lft-out-- associate--r-
+-commutative sub-neg flip3-- diff-log rem-log-exp sum-log flip-- difference-of-squares
Counts
3 → 48
Calls
3 calls:
6.0ms
(- a (log (+ (exp a) (exp b))))
4.0ms
(+ (exp a) (exp b))
4.0ms
(log (+ (exp a) (exp b)))

series87.0ms

Counts
3 → 9
Calls
3 calls:
32.0ms
(- a (log (+ (exp a) (exp b))))
18.0ms
(+ (exp a) (exp b))
37.0ms
(log (+ (exp a) (exp b)))

simplify57.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 3 (21.0ms)

IterNodesCost
0178383
1403359
2765354
32150350
45001350

prune146.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.5b

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (exp a) (exp b))
0.7b
(/ (exp a) (+ (pow (exp a) 3) (pow (exp b) 3)))
0.7b
(* (/ (exp a) (+ (pow (exp a) 3) (pow (exp b) 3))) (+ (* (exp a) (exp a)) (- (* (exp b) (exp b)) (* (exp a) (exp b)))))
2.6b
(- (* (exp b) (exp b)) (* (exp a) (exp b)))

rewrite197.0ms

Algorithm
rewrite-expression-head
Rules
106×*-un-lft-identity
55×times-frac
41×add-sqr-sqrt
36×associate-*l*
35×distribute-lft-out
34×add-cube-cbrt
28×unpow-prod-down cube-prod
13×add-cbrt-cube
add-exp-log associate-/r*
pow1
sum-cubes
associate-*r* add-log-exp
flip3-+ associate-/r/ flip-+
prod-exp cbrt-unprod associate-/l* unswap-sqr
cbrt-undiv frac-times exp-prod associate-*r/ div-exp pow-prod-down *-commutative div-inv
distribute-rgt-in sub-neg flip3-- distribute-rgt-out-- frac-2neg distribute-lft-in diff-log associate-*l/ clear-num pow-prod-up flip--
Counts
4 → 143
Calls
4 calls:
7.0ms
(* (exp a) (exp b))
27.0ms
(/ (exp a) (+ (pow (exp a) 3) (pow (exp b) 3)))
150.0ms
(* (/ (exp a) (+ (pow (exp a) 3) (pow (exp b) 3))) (+ (* (exp a) (exp a)) (- (* (exp b) (exp b)) (* (exp a) (exp b)))))
7.0ms
(- (* (exp b) (exp b)) (* (exp a) (exp b)))

series261.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(* (exp a) (exp b))
60.0ms
(/ (exp a) (+ (pow (exp a) 3) (pow (exp b) 3)))
138.0ms
(* (/ (exp a) (+ (pow (exp a) 3) (pow (exp b) 3))) (+ (* (exp a) (exp a)) (- (* (exp b) (exp b)) (* (exp a) (exp b)))))
44.0ms
(- (* (exp b) (exp b)) (* (exp a) (exp b)))

simplify97.0ms

Algorithm
egg-herbie
Counts
155 → 155
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
06542084
136321891
250021885

prune444.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.5b

localize25.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (exp (/ (exp a) (+ (pow (exp a) 3) (pow (exp b) 3)))) (+ (pow (exp b) 2) (- (pow (exp a) 2) (exp (+ b a)))))
0.3b
(log (pow (exp (/ (exp a) (+ (pow (exp a) 3) (pow (exp b) 3)))) (+ (pow (exp b) 2) (- (pow (exp a) 2) (exp (+ b a))))))
0.7b
(/ (exp a) (+ (pow (exp a) 3) (pow (exp b) 3)))
2.4b
(- (pow (exp a) 2) (exp (+ b a)))

rewrite206.0ms

Algorithm
rewrite-expression-head
Rules
112×*-un-lft-identity
54×times-frac
41×add-sqr-sqrt
37×distribute-lft-out
35×add-cube-cbrt unpow-prod-down
34×pow-pow
33×exp-prod
28×cube-prod
associate-/r*
log-prod
sum-cubes
add-exp-log add-cbrt-cube add-log-exp
pow1 pow-unpow
associate-/r/ difference-of-squares
rem-log-exp associate-/l* sqr-pow
unpow-prod-up pow-to-exp associate-+r- flip3-+ pow-exp flip-+ div-inv distribute-lft-out-- unpow2 pow-sub
cbrt-undiv sub-neg log-div flip3-- distribute-rgt-out-- frac-2neg diff-log div-exp exp-sum clear-num log-pow flip--
Counts
4 → 145
Calls
4 calls:
115.0ms
(pow (exp (/ (exp a) (+ (pow (exp a) 3) (pow (exp b) 3)))) (+ (pow (exp b) 2) (- (pow (exp a) 2) (exp (+ b a)))))
41.0ms
(log (pow (exp (/ (exp a) (+ (pow (exp a) 3) (pow (exp b) 3)))) (+ (pow (exp b) 2) (- (pow (exp a) 2) (exp (+ b a))))))
28.0ms
(/ (exp a) (+ (pow (exp a) 3) (pow (exp b) 3)))
15.0ms
(- (pow (exp a) 2) (exp (+ b a)))

series459.0ms

Counts
4 → 12
Calls
4 calls:
181.0ms
(pow (exp (/ (exp a) (+ (pow (exp a) 3) (pow (exp b) 3)))) (+ (pow (exp b) 2) (- (pow (exp a) 2) (exp (+ b a)))))
184.0ms
(log (pow (exp (/ (exp a) (+ (pow (exp a) 3) (pow (exp b) 3)))) (+ (pow (exp b) 2) (- (pow (exp a) 2) (exp (+ b a))))))
62.0ms
(/ (exp a) (+ (pow (exp a) 3) (pow (exp b) 3)))
32.0ms
(- (pow (exp a) 2) (exp (+ b a)))

simplify87.0ms

Algorithm
egg-herbie
Counts
157 → 157
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
06172353
131852207
250012203

prune544.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.4b

regimes61.0ms

Accuracy

0% (0.4b remaining)

Error of 0.9b against oracle of 0.5b and baseline of 0.9b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02218
12218

end0.0ms

sample1.7s

Algorithm
intervals
Results
1.3s3481×body10240exit
186.0ms8000×body80valid