Details

Time bar (total: 4.6s)

sample415.0ms

Algorithm
intervals
Results
65.0ms250×body10240exit
14.0ms452×body80nan
7.0ms232×body80valid
2.0ms26×body160valid

simplify70.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0197
1287
2407
3737
41767
55597
626267
750017
done50017

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 5.1b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
0.0b
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
5.2b
(- (exp (* 2.0 x)) 1.0)
5.4b
(- (exp x) 1.0)

rewrite105.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:
29.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
43.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
12.0ms
(- (exp (* 2.0 x)) 1.0)
14.0ms
(- (exp x) 1.0)

series207.0ms

Counts
4 → 12
Calls
4 calls:
93.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
62.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
26.0ms
(- (exp (* 2.0 x)) 1.0)
24.0ms
(- (exp x) 1.0)

simplify119.0ms

Counts
135 → 135
Iterations

Useful iterations: 3 (107.0ms)

IterNodesCost
03871380
110541314
242871301
350031293
done50031293

prune340.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
15×*-un-lft-identity
11×sqrt-prod add-log-exp
pow1 add-cube-cbrt difference-of-squares
add-exp-log add-cbrt-cube
sqrt-pow1 distribute-lft-out--
sub-neg flip3-- diff-log flip-- distribute-lft-out
+-commutative rem-sqrt-square exp-prod exp-to-pow flip3-+ pow1/2 sum-log flip-+
Counts
4 → 60
Calls
4 calls:
3.0ms
(sqrt (exp (* 2.0 x)))
17.0ms
(+ (sqrt (exp (* 2.0 x))) (sqrt 1.0))
17.0ms
(- (sqrt (exp (* 2.0 x))) (sqrt 1.0))
10.0ms
(- (exp x) 1.0)

series132.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(sqrt (exp (* 2.0 x)))
46.0ms
(+ (sqrt (exp (* 2.0 x))) (sqrt 1.0))
48.0ms
(- (sqrt (exp (* 2.0 x))) (sqrt 1.0))
16.0ms
(- (exp x) 1.0)

simplify116.0ms

Counts
72 → 72
Iterations

Useful iterations: 3 (35.0ms)

IterNodesCost
0209434
1530405
21324402
33833401
45001401
done5001401

prune226.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize7.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)))
24.0b
(sqrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))

rewrite43.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:
11.0ms
(+ (* x (+ 1.0 (* 0.5 x))) 2.0)
18.0ms
(* x (+ 1.0 (* 0.5 x)))
14.0ms
(sqrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))

series168.0ms

Counts
3 → 9
Calls
3 calls:
25.0ms
(+ (* x (+ 1.0 (* 0.5 x))) 2.0)
64.0ms
(* x (+ 1.0 (* 0.5 x)))
79.0ms
(sqrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))

simplify42.0ms

Counts
59 → 59
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0308385
11305364
25001352
done5001352

prune108.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes25.0ms

Accuracy

99.4% (0.0b remaining)

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

bsearch63.0ms

Steps
ItersRangePoint
6
2.0156653836354806e-07
1.163867227605777e-06
3.9558468439485187e-07
6
-2.6323548345885542e-05
-5.599255928070541e-06
-1.582886078662358e-05

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04122
14122
done4122

end0.0ms

sample2.3s

Algorithm
intervals
Results
1.2s6673×body10240exit
376.0ms12678×body80nan
236.0ms7440×body80valid
52.0ms696×body160valid