Details

Time bar (total: 5.1s)

sample328.0ms

Algorithm
intervals
Results
43.0ms220×body10240exit
12.0ms407×body80nan
9.0ms240×body80valid
2.0ms19×body160valid

simplify70.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0197
1287
2407
3737
41767
55597
626267
750017

prune12.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 3.6b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
0.1b
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
4.0b
(- (exp (* 2.0 x)) 1.0)
4.0b
(- (exp x) 1.0)

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
78×add-sqr-sqrt
75×*-un-lft-identity
51×times-frac
31×sqrt-prod
27×add-cube-cbrt
24×distribute-lft-out-- difference-of-squares
add-log-exp
add-exp-log add-cbrt-cube
pow1 flip3-- associate-/r* flip-- associate-/l*
associate-/r/
sub-neg rem-sqrt-square diff-log div-inv associate-/l/
cbrt-undiv frac-2neg sqrt-pow1 pow1/2 sqrt-div div-sub div-exp clear-num
Counts
4 → 123
Calls
4 calls:
14.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
15.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
4.0ms
(- (exp (* 2.0 x)) 1.0)
7.0ms
(- (exp x) 1.0)

series209.0ms

Counts
4 → 12
Calls
4 calls:
94.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
59.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
32.0ms
(- (exp (* 2.0 x)) 1.0)
23.0ms
(- (exp x) 1.0)

simplify127.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 3 (110.0ms)

IterNodesCost
03871380
110541314
242871301
350031293

prune339.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (* (+ (sqrt (exp (* 2.0 x))) (sqrt 1.0)) (/ (- (sqrt (exp (* 2.0 x))) (sqrt 1.0)) (- (exp x) 1.0))))
0.0b
(+ (sqrt (exp (* 2.0 x))) (sqrt 1.0))
4.0b
(- (sqrt (exp (* 2.0 x))) (sqrt 1.0))
4.0b
(- (exp x) 1.0)

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt *-un-lft-identity
10×add-log-exp
sqrt-prod
pow1
sqrt-div difference-of-squares
add-exp-log add-cube-cbrt add-cbrt-cube
flip3-+ flip-+ distribute-lft-out--
frac-times sub-neg flip3-- sqrt-pow1 diff-log associate-*l/ flip-- distribute-lft-out
+-commutative pow1/2 associate-*r/ pow-prod-down sum-log
Counts
4 → 61
Calls
4 calls:
18.0ms
(sqrt (* (+ (sqrt (exp (* 2.0 x))) (sqrt 1.0)) (/ (- (sqrt (exp (* 2.0 x))) (sqrt 1.0)) (- (exp x) 1.0))))
7.0ms
(+ (sqrt (exp (* 2.0 x))) (sqrt 1.0))
7.0ms
(- (sqrt (exp (* 2.0 x))) (sqrt 1.0))
4.0ms
(- (exp x) 1.0)

series450.0ms

Counts
4 → 12
Calls
4 calls:
339.0ms
(sqrt (* (+ (sqrt (exp (* 2.0 x))) (sqrt 1.0)) (/ (- (sqrt (exp (* 2.0 x))) (sqrt 1.0)) (- (exp x) 1.0))))
46.0ms
(+ (sqrt (exp (* 2.0 x))) (sqrt 1.0))
51.0ms
(- (sqrt (exp (* 2.0 x))) (sqrt 1.0))
14.0ms
(- (exp x) 1.0)

simplify42.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0420776
11462712
25001694

prune224.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

4.0b
(- (sqrt (exp (* 2.0 x))) (sqrt 1.0))
4.0b
(- (exp x) 1.0)
4.0b
(- (exp x) 1.0)
4.0b
(- (exp x) 1.0)

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
14×*-un-lft-identity
12×add-log-exp
difference-of-squares
sqrt-prod
distribute-lft-out--
pow1 add-exp-log add-cube-cbrt sub-neg flip3-- diff-log add-cbrt-cube flip--
Counts
4 → 60
Calls
4 calls:
7.0ms
(- (sqrt (exp (* 2.0 x))) (sqrt 1.0))
4.0ms
(- (exp x) 1.0)
4.0ms
(- (exp x) 1.0)
4.0ms
(- (exp x) 1.0)

series94.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(- (sqrt (exp (* 2.0 x))) (sqrt 1.0))
14.0ms
(- (exp x) 1.0)
17.0ms
(- (exp x) 1.0)
15.0ms
(- (exp x) 1.0)

simplify94.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (11.0ms)

IterNodesCost
0156394
1399367
21035363
32831363
45002363

prune241.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x (+ 1.0 (* 0.5 x))) 2.0)
0.0b
(* x (+ 1.0 (* 0.5 x)))
28.0b
(sqrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log add-cbrt-cube add-log-exp
flip3-+ associate-*r* associate-*l* sqrt-prod flip-+
distribute-rgt-in associate-+l+ distribute-lft-in sqrt-div associate-*r/
+-commutative rem-sqrt-square sqrt-pow1 pow1/2 pow-prod-down prod-exp sum-log *-commutative cbrt-unprod unswap-sqr
Counts
3 → 50
Calls
3 calls:
4.0ms
(+ (* x (+ 1.0 (* 0.5 x))) 2.0)
7.0ms
(* x (+ 1.0 (* 0.5 x)))
7.0ms
(sqrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))

series170.0ms

Counts
3 → 9
Calls
3 calls:
23.0ms
(+ (* x (+ 1.0 (* 0.5 x))) 2.0)
67.0ms
(* x (+ 1.0 (* 0.5 x)))
81.0ms
(sqrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))

simplify42.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0308385
11305364
25001352

prune107.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes28.0ms

Accuracy

78.8% (0.7b remaining)

Error of 0.8b against oracle of 0.1b and baseline of 3.4b

bsearch41.0ms

Steps
ItersRangePoint
7
-5.023588783947765e-05
-7.23934040408857e-07
-1.1563998871691034e-05

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03020
13020

end0.0ms

sample2.3s

Algorithm
intervals
Results
1.3s6743×body10240exit
379.0ms12822×body80nan
240.0ms7450×body80valid
54.0ms691×body160valid