Details

Time bar (total: 3.5s)

sample52.0ms

Algorithm
intervals
Results
36.0ms108×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

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite14.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))
9.0ms
(/ (exp a) (+ (exp a) (exp b)))

series49.0ms

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

simplify93.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
0163384
1486357
21239355
34158355
45001355

prune122.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.2b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(exp (- a (log (+ (exp a) (exp b)))))
0.0b
(+ (exp a) (exp b))
1.1b
(- a (log (+ (exp a) (exp b))))
4.3b
(log (+ (exp a) (exp b)))

rewrite25.0ms

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

series139.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(exp (- a (log (+ (exp a) (exp b)))))
18.0ms
(+ (exp a) (exp b))
36.0ms
(- a (log (+ (exp a) (exp b))))
34.0ms
(log (+ (exp a) (exp b)))

simplify89.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 4 (83.0ms)

IterNodesCost
0233551
1543509
21225495
34110491
45001489

prune199.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.2b

localize15.0ms

Local error

Found 4 expressions with local error:

0.4b
(pow (- a (log (+ (exp a) (exp b)))) 3)
1.1b
(- a (log (+ (exp a) (exp b))))
4.3b
(log (+ (exp a) (exp b)))
14.5b
(cbrt (pow (- a (log (+ (exp a) (exp b)))) 3))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
31×*-un-lft-identity
22×add-sqr-sqrt
18×cbrt-prod
12×add-cube-cbrt unpow-prod-down cube-prod
11×pow1
10×distribute-lft-out--
log-prod
add-exp-log log-pow
add-cbrt-cube add-log-exp difference-of-squares
cube-div log-div associate--r+
pow-unpow flip3-- flip--
cube-mult cbrt-div flip3-+ unpow3 flip-+ distribute-lft-out associate--r- sqr-pow
pow-to-exp sub-neg pow-pow pow1/3 diff-log rem-log-exp pow-exp rem-cbrt-cube rem-cube-cbrt
Counts
4 → 96
Calls
4 calls:
5.0ms
(pow (- a (log (+ (exp a) (exp b)))) 3)
6.0ms
(- a (log (+ (exp a) (exp b))))
4.0ms
(log (+ (exp a) (exp b)))
6.0ms
(cbrt (pow (- a (log (+ (exp a) (exp b)))) 3))

series176.0ms

Counts
4 → 12
Calls
4 calls:
65.0ms
(pow (- a (log (+ (exp a) (exp b)))) 3)
32.0ms
(- a (log (+ (exp a) (exp b))))
37.0ms
(log (+ (exp a) (exp b)))
42.0ms
(cbrt (pow (- a (log (+ (exp a) (exp b)))) 3))

simplify42.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0337944
11164892
25002867

prune271.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.2b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
38×*-un-lft-identity
28×add-sqr-sqrt
26×times-frac
21×add-cube-cbrt
18×associate-*r*
12×add-exp-log
10×add-cbrt-cube
distribute-lft-out
pow1
add-log-exp
div-exp prod-exp associate-/r* associate-/r/
flip3-+ associate-*l* flip-+ associate-/l* unswap-sqr
cbrt-undiv rec-exp 1-exp cbrt-unprod div-inv
+-commutative pow-flip frac-2neg associate-*r/ pow-prod-down clear-num sum-log un-div-inv *-commutative inv-pow
Counts
3 → 90
Calls
3 calls:
4.0ms
(+ (exp a) (exp b))
8.0ms
(/ 1 (+ (exp a) (exp b)))
23.0ms
(* (exp a) (/ 1 (+ (exp a) (exp b))))

series75.0ms

Counts
3 → 9
Calls
3 calls:
17.0ms
(+ (exp a) (exp b))
23.0ms
(/ 1 (+ (exp a) (exp b)))
35.0ms
(* (exp a) (/ 1 (+ (exp a) (exp b))))

simplify65.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 3 (58.0ms)

IterNodesCost
0279673
11159593
23644553
35001552

prune179.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.2b

regimes94.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0128
1128

end0.0ms

sample1.7s

Algorithm
intervals
Results
1.3s3570×body10240exit
194.0ms8000×body80valid