Details

Time bar (total: 21.0s)

sample417.0ms

Algorithm
intervals
Results
102.0ms198×body10240exit
79.0ms241×body80valid
63.0ms369×body80nan
3.0ms17×body160valid

simplify2.8s

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
01012
11912
22812
34012
47412
517512
647912
7166512
done500012

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 4.1b

localize13.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))
4.3b
(- (exp (* 2.0 x)) 1.0)
4.5b
(- (exp x) 1.0)

rewrite154.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:
52.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
61.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
19.0ms
(- (exp (* 2.0 x)) 1.0)
12.0ms
(- (exp x) 1.0)

series279.0ms

Counts
4 → 12
Calls
4 calls:
122.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
76.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
43.0ms
(- (exp (* 2.0 x)) 1.0)
37.0ms
(- (exp x) 1.0)

simplify1.5s

Counts
135 → 135
Iterations

Useful iterations: done (1.5s)

IterNodesCost
01892376
13882279
29042169
322932156
done50012154

prune461.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite239.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
26×*-un-lft-identity
14×sqrt-prod
11×add-exp-log add-cbrt-cube difference-of-squares
flip3-- associate-*r* flip--
frac-times add-cube-cbrt associate-/l/ add-log-exp
distribute-lft-out--
pow1 flip3-+ flip-+
times-frac associate-*l* associate-/r*
sub-neg associate-*r/ associate-*l/
cbrt-undiv distribute-rgt-in distribute-lft-in diff-log div-exp prod-exp associate-/r/ cbrt-unprod distribute-lft-out
frac-2neg pow-prod-down clear-num *-commutative div-inv associate-/l* unswap-sqr
Counts
4 → 105
Calls
4 calls:
128.0ms
(* (+ (sqrt (exp (* 2.0 x))) (sqrt 1.0)) (- (sqrt (exp (* 2.0 x))) (sqrt 1.0)))
77.0ms
(/ (* (+ (sqrt (exp (* 2.0 x))) (sqrt 1.0)) (- (sqrt (exp (* 2.0 x))) (sqrt 1.0))) (- (exp x) 1.0))
19.0ms
(- (sqrt (exp (* 2.0 x))) (sqrt 1.0))
10.0ms
(- (exp x) 1.0)

series569.0ms

Counts
4 → 12
Calls
4 calls:
206.0ms
(* (+ (sqrt (exp (* 2.0 x))) (sqrt 1.0)) (- (sqrt (exp (* 2.0 x))) (sqrt 1.0)))
273.0ms
(/ (* (+ (sqrt (exp (* 2.0 x))) (sqrt 1.0)) (- (sqrt (exp (* 2.0 x))) (sqrt 1.0))) (- (exp x) 1.0))
71.0ms
(- (sqrt (exp (* 2.0 x))) (sqrt 1.0))
18.0ms
(- (exp x) 1.0)

simplify1.2s

Counts
117 → 117
Iterations

Useful iterations: 2 (319.0ms)

IterNodesCost
01802590
14731851
220041667
done50021667

prune411.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite40.0ms

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

series189.0ms

Counts
2 → 6
Calls
2 calls:
103.0ms
(* x (+ (* 0.5 x) 1.0))
86.0ms
(sqrt (+ 2.0 (* x (+ (* 0.5 x) 1.0))))

simplify2.2s

Counts
43 → 43
Iterations

Useful iterations: 3 (798.0ms)

IterNodesCost
0106598
1280541
2885507
33334498
done5002498

prune121.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize24.0ms

Local error

Found 4 expressions with local error:

0.0b
(* x (+ (* 0.5 x) 1.0))
0.0b
(* x (+ (* 0.5 x) 1.0))
0.1b
(/ (sqrt (- (* 2.0 2.0) (* (* x (+ (* 0.5 x) 1.0)) (* x (+ (* 0.5 x) 1.0))))) (sqrt (- 2.0 (* x (+ (* 0.5 x) 1.0)))))
0.2b
(* (* x (+ (* 0.5 x) 1.0)) (* x (+ (* 0.5 x) 1.0)))

rewrite230.0ms

Algorithm
rewrite-expression-head
Rules
52×sqrt-prod
47×pow1
42×add-sqr-sqrt times-frac
38×add-cube-cbrt *-un-lft-identity
22×add-exp-log add-cbrt-cube
19×pow-prod-down
18×associate-*r/
10×prod-exp cbrt-unprod
flip3-+ flip-+
associate-*r* associate-*l* associate-/l* difference-of-squares
distribute-rgt-in distribute-lft-in associate-/r*
frac-times sqrt-div pow-sqr pow-prod-up add-log-exp
*-commutative
flip3-- pow-plus associate-*l/ associate-/r/ flip-- associate-/l/ unswap-sqr
cbrt-undiv pow2 sqrt-undiv frac-2neg swap-sqr div-exp clear-num div-inv
Counts
4 → 162
Calls
4 calls:
47.0ms
(* x (+ (* 0.5 x) 1.0))
26.0ms
(* x (+ (* 0.5 x) 1.0))
45.0ms
(/ (sqrt (- (* 2.0 2.0) (* (* x (+ (* 0.5 x) 1.0)) (* x (+ (* 0.5 x) 1.0))))) (sqrt (- 2.0 (* x (+ (* 0.5 x) 1.0)))))
106.0ms
(* (* x (+ (* 0.5 x) 1.0)) (* x (+ (* 0.5 x) 1.0)))

series492.0ms

Counts
4 → 12
Calls
4 calls:
110.0ms
(* x (+ (* 0.5 x) 1.0))
93.0ms
(* x (+ (* 0.5 x) 1.0))
221.0ms
(/ (sqrt (- (* 2.0 2.0) (* (* x (+ (* 0.5 x) 1.0)) (* x (+ (* 0.5 x) 1.0))))) (sqrt (- 2.0 (* x (+ (* 0.5 x) 1.0)))))
68.0ms
(* (* x (+ (* 0.5 x) 1.0)) (* x (+ (* 0.5 x) 1.0)))

simplify1.4s

Counts
174 → 174
Iterations

Useful iterations: done (1.4s)

IterNodesCost
02425365
15884728
221184482
done50024456

prune528.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes28.0ms

Accuracy

79.9% (0.6b remaining)

Error of 0.8b against oracle of 0.2b and baseline of 3.3b

bsearch77.0ms

Steps
ItersRangePoint
8
-9.640722949014248e-05
-2.3145164395556077e-08
-3.356135868947112e-05

simplify4.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02337
13037
done3037

end0.0ms

sample7.6s

Algorithm
intervals
Results
4.4s6799×body10240exit
1.7s12844×body80nan
665.0ms7436×body80valid
99.0ms687×body160valid