Details

Time bar (total: 3.4s)

analyze4.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
50%25%25%4
50%12.5%37.5%5
50%6.2%43.8%6
50%3.1%46.9%7
50%1.6%48.5%8
50%0.8%49.2%9
50.4%0.4%49.2%10
50.4%0.2%49.4%11
50.4%0.1%49.5%12
50.4%0%49.6%13
50.4%0%49.6%14

sample77.0ms

Algorithm
intervals
Results
61.0ms192×body1280valid
6.0ms33×body640valid
2.0ms16×body320valid
1.0ms11×body160valid
0.0msbody80valid

simplify73.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (71.0ms)

IterNodesCost
054058

prune6.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 24.9b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (exp x) 2.0)
3.7b
(+ (- (exp x) 2.0) (exp (neg x)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity add-log-exp
add-sqr-sqrt frac-add
flip3-- flip--
pow1 add-exp-log neg-sub0 exp-neg add-cube-cbrt sub-neg exp-diff diff-log sum-log add-cbrt-cube distribute-lft-out distribute-lft-out--
+-commutative associate-+l- associate-+l+ flip3-+ flip-+ difference-of-squares
Counts
2 → 33
Calls
2 calls:
4.0ms
(- (exp x) 2.0)
11.0ms
(+ (- (exp x) 2.0) (exp (neg x)))

series9.0ms

Counts
2 → 6
Calls
2 calls:
2.0ms
(- (exp x) 2.0)
7.0ms
(+ (- (exp x) 2.0) (exp (neg x)))

simplify45.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
04999423
14999423

prune67.0ms

Filtered
28 candidates to 39 candidates (-39.3%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New36339
Fresh000
Picked101
Done000
Total37340

Merged error: 0.0b

Counts
40 → 3

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))
0.0b
(+ (* x x) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))
0.1b
(* 1/360 (pow x 6))
0.1b
(* 1/12 (pow x 4))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
14×add-exp-log associate-*r*
11×add-log-exp
10×add-cube-cbrt *-un-lft-identity
unpow-prod-down add-cbrt-cube
associate-*l* prod-exp unswap-sqr
pow1 sum-log sqr-pow
+-commutative pow-to-exp flip3-+ pow-exp *-commutative cbrt-unprod flip-+
associate-+r+
Counts
4 → 74
Calls
4 calls:
5.0ms
(+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))
7.0ms
(+ (* x x) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))
5.0ms
(* 1/360 (pow x 6))
5.0ms
(* 1/12 (pow x 4))

series27.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))
6.0ms
(+ (* x x) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))
7.0ms
(* 1/360 (pow x 6))
4.0ms
(* 1/12 (pow x 4))

simplify41.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
05625851

prune137.0ms

Filtered
56 candidates to 86 candidates (-53.6%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New85186
Fresh022
Picked011
Done000
Total85489

Merged error: 0b

Counts
89 → 4

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(exp (- (exp x) 2.0))
0.0b
(log (exp (- (exp x) 2.0)))
0.0b
(- (exp x) 2.0)
3.9b
(+ (log (exp (- (exp x) 2.0))) (exp (neg x)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
17×*-un-lft-identity
14×add-sqr-sqrt
10×exp-prod add-log-exp
add-cube-cbrt log-prod
log-pow
pow1
add-exp-log sub-neg associate-+l+ add-cbrt-cube
exp-diff exp-sum distribute-lft-out-- difference-of-squares
log-div diff-log rem-exp-log distribute-lft-out
+-commutative associate-+l- flip3-- flip3-+ rem-log-exp sum-log flip-- flip-+
Counts
4 → 66
Calls
4 calls:
5.0ms
(exp (- (exp x) 2.0))
5.0ms
(log (exp (- (exp x) 2.0)))
4.0ms
(- (exp x) 2.0)
12.0ms
(+ (log (exp (- (exp x) 2.0))) (exp (neg x)))

series18.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(exp (- (exp x) 2.0))
2.0ms
(log (exp (- (exp x) 2.0)))
2.0ms
(- (exp x) 2.0)
7.0ms
(+ (log (exp (- (exp x) 2.0))) (exp (neg x)))

simplify62.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
04880568
14880568

prune105.0ms

Filtered
58 candidates to 78 candidates (-34.5%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New78078
Fresh022
Picked011
Done011
Total78482

Merged error: 0b

Counts
82 → 4

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (* (+ (exp x) 2.0) (+ 1 (* (exp x) (- (exp x) 2.0)))) (* (exp x) (+ (exp x) 2.0)))
0.0b
(* (exp x) (- (exp x) 2.0))
0.0b
(* (+ (exp x) 2.0) (+ 1 (* (exp x) (- (exp x) 2.0))))
2.9b
(+ 1 (* (exp x) (- (exp x) 2.0)))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
20×add-cbrt-cube
17×add-exp-log
14×add-sqr-sqrt flip3-+ flip-+
12×*-un-lft-identity
pow1 frac-times add-cube-cbrt associate-*r/ associate-*r* associate-/l/
associate-*l*
prod-exp cbrt-unprod add-log-exp
cbrt-undiv sub-neg div-exp associate-*l/
distribute-rgt-in distribute-lft-in
associate-+r+ pow-prod-down associate-/r/ *-commutative unswap-sqr
+-commutative flip3-- frac-2neg times-frac clear-num associate-/r* sum-log flip-- div-inv distribute-lft-out associate-/l* distribute-lft-out-- difference-of-squares
Counts
4 → 97
Calls
4 calls:
14.0ms
(/ (* (+ (exp x) 2.0) (+ 1 (* (exp x) (- (exp x) 2.0)))) (* (exp x) (+ (exp x) 2.0)))
8.0ms
(* (exp x) (- (exp x) 2.0))
8.0ms
(* (+ (exp x) 2.0) (+ 1 (* (exp x) (- (exp x) 2.0))))
4.0ms
(+ 1 (* (exp x) (- (exp x) 2.0)))

series40.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(/ (* (+ (exp x) 2.0) (+ 1 (* (exp x) (- (exp x) 2.0)))) (* (exp x) (+ (exp x) 2.0)))
4.0ms
(* (exp x) (- (exp x) 2.0))
14.0ms
(* (+ (exp x) 2.0) (+ 1 (* (exp x) (- (exp x) 2.0))))
7.0ms
(+ 1 (* (exp x) (- (exp x) 2.0)))

simplify42.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
052051616

prune147.0ms

Filtered
81 candidates to 109 candidates (-34.6%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1090109
Fresh011
Picked011
Done022
Total1094113

Merged error: 0b

Counts
113 → 4

regimes34.0ms

Accuracy

0% (0.5b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03815
13815

end0.0ms

sample2.3s

Algorithm
intervals
Results
1.9s5677×body1280valid
228.0ms1227×body640valid
74.0ms627×body320valid
24.0ms314×body160valid
6.0ms155×body80valid

Profiling

Loading profile data...