Details

Time bar (total: 16.1s)

sample87.0ms

Algorithm
intervals
Results
24.0ms186×body80valid
18.0ms41×body2560valid
8.0ms28×body1280valid
6.0ms108×body80nan
4.0ms17×body640valid
2.0msbody5120valid
1.0msbody320valid
0.0msbody160valid

simplify237.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01417
12917
26417
312017
414517
515217
615617
done15617

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 36.3b

localize17.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
0.8b
(- (* b b) (* 4.0 (* a c)))
1.2b
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
24.0b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite199.0ms

Algorithm
rewrite-expression-head
Rules
61×add-sqr-sqrt prod-diff
60×*-un-lft-identity
48×add-cube-cbrt
36×sqrt-prod
24×distribute-rgt-neg-in
21×distribute-lft-neg-in
11×fma-neg
10×add-log-exp
add-exp-log add-cbrt-cube
neg-mul-1 times-frac associate-/l*
distribute-lft-out-- difference-of-squares
pow1
expm1-log1p-u flip3-- flip-- log1p-expm1-u
diff-log
cbrt-undiv sub-neg sqrt-div div-exp associate-/l/
associate--l- neg-sub0 rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-sub neg-log prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
4 → 157
Calls
4 calls:
107.0ms
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
10.0ms
(- (* b b) (* 4.0 (* a c)))
64.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
11.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series429.0ms

Counts
4 → 12
Calls
4 calls:
151.0ms
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
78.0ms
(- (* b b) (* 4.0 (* a c)))
101.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
100.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify1.5s

Counts
169 → 169
Iterations

Useful iterations: done (1.5s)

IterNodesCost
02436690
15874705
217533760
done50003113

prune615.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 5.2b

localize25.0ms

Local error

Found 4 expressions with local error:

1.4b
(- (sqrt (fma b b (- (* 4.0 (* a c))))) b)
5.1b
(/ (/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b)) (* 2.0 a))
10.3b
(/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b))
24.0b
(sqrt (fma b b (- (* 4.0 (* a c)))))

rewrite193.0ms

Algorithm
rewrite-expression-head
Rules
95×add-sqr-sqrt
78×times-frac
72×*-un-lft-identity
50×add-cube-cbrt
27×associate-/l*
26×sqrt-prod
22×difference-of-squares
18×add-exp-log prod-diff add-cbrt-cube
11×distribute-lft-out--
cbrt-undiv div-exp associate-/r*
fma-neg associate-/r/ add-log-exp
pow1
expm1-log1p-u flip3-- flip-- log1p-expm1-u div-inv
associate-/l/
frac-2neg prod-exp clear-num cbrt-unprod
sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 diff-log flip-+
Counts
4 → 171
Calls
4 calls:
12.0ms
(- (sqrt (fma b b (- (* 4.0 (* a c))))) b)
105.0ms
(/ (/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b)) (* 2.0 a))
66.0ms
(/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b))
2.0ms
(sqrt (fma b b (- (* 4.0 (* a c)))))

series816.0ms

Counts
4 → 12
Calls
4 calls:
123.0ms
(- (sqrt (fma b b (- (* 4.0 (* a c))))) b)
235.0ms
(/ (/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b)) (* 2.0 a))
341.0ms
(/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b))
118.0ms
(sqrt (fma b b (- (* 4.0 (* a c)))))

simplify1.5s

Counts
183 → 183
Iterations

Useful iterations: done (1.5s)

IterNodesCost
02755401
16554711
222914237
done50014169

prune805.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 5.1b

localize36.0ms

Local error

Found 4 expressions with local error:

1.4b
(- (sqrt (fma b b (- (* 4.0 (* a c))))) b)
5.2b
(* (/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b)) (/ 1 (* 2.0 a)))
10.3b
(/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b))
24.0b
(sqrt (fma b b (- (* 4.0 (* a c)))))

rewrite197.0ms

Algorithm
rewrite-expression-head
Rules
80×add-sqr-sqrt
58×*-un-lft-identity
51×add-exp-log
42×add-cube-cbrt
40×times-frac
27×add-cbrt-cube
24×associate-*l*
23×sqrt-prod
20×prod-exp
18×prod-diff
16×div-exp difference-of-squares
cbrt-undiv cbrt-unprod distribute-lft-out--
pow1 associate-*r*
fma-neg associate-/r* add-log-exp
expm1-log1p-u rec-exp 1-exp associate-/r/ log1p-expm1-u
flip3-- flip-- div-inv associate-/l*
associate-/l/ unswap-sqr
frac-times sub-neg rem-sqrt-square frac-2neg sqrt-pow1 flip3-+ pow1/2 diff-log associate-*r/ pow-prod-down associate-*l/ clear-num un-div-inv *-commutative flip-+
Counts
4 → 169
Calls
4 calls:
25.0ms
(- (sqrt (fma b b (- (* 4.0 (* a c))))) b)
100.0ms
(* (/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b)) (/ 1 (* 2.0 a)))
55.0ms
(/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b))
2.0ms
(sqrt (fma b b (- (* 4.0 (* a c)))))

series857.0ms

Counts
4 → 12
Calls
4 calls:
146.0ms
(- (sqrt (fma b b (- (* 4.0 (* a c))))) b)
267.0ms
(* (/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b)) (/ 1 (* 2.0 a)))
309.0ms
(/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b))
135.0ms
(sqrt (fma b b (- (* 4.0 (* a c)))))

simplify1.9s

Counts
181 → 181
Iterations

Useful iterations: done (1.9s)

IterNodesCost
02805119
17144377
225023764
done50003696

prune824.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 5.1b

localize18.0ms

Local error

Found 4 expressions with local error:

1.0b
(fma b b (- (* 4.0 (* a c))))
1.4b
(- (sqrt (fma b b (- (* 4.0 (* a c))))) b)
14.5b
(/ (* (* a c) 4.0) (* 2.0 a))
24.0b
(sqrt (fma b b (- (* 4.0 (* a c)))))

rewrite92.0ms

Algorithm
rewrite-expression-head
Rules
25×add-exp-log add-cbrt-cube
24×add-sqr-sqrt
21×*-un-lft-identity
19×add-cube-cbrt
18×prod-diff
16×sqrt-prod
prod-exp cbrt-unprod
cbrt-undiv fma-neg div-exp add-log-exp
pow1
expm1-log1p-u log1p-expm1-u
difference-of-squares
sub-neg rem-sqrt-square flip3-- frac-2neg sqrt-pow1 times-frac pow1/2 diff-log clear-num associate-/r* flip-- fma-udef div-inv associate-/l* distribute-lft-out--
Counts
4 → 93
Calls
4 calls:
1.0ms
(fma b b (- (* 4.0 (* a c))))
24.0ms
(- (sqrt (fma b b (- (* 4.0 (* a c))))) b)
58.0ms
(/ (* (* a c) 4.0) (* 2.0 a))
3.0ms
(sqrt (fma b b (- (* 4.0 (* a c)))))

series381.0ms

Counts
4 → 12
Calls
4 calls:
89.0ms
(fma b b (- (* 4.0 (* a c))))
137.0ms
(- (sqrt (fma b b (- (* 4.0 (* a c))))) b)
14.0ms
(/ (* (* a c) 4.0) (* 2.0 a))
141.0ms
(sqrt (fma b b (- (* 4.0 (* a c)))))

simplify1.2s

Counts
105 → 105
Iterations

Useful iterations: done (1.2s)

IterNodesCost
01681926
14131650
218051333
done50001266

prune324.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 5.1b

regimes240.0ms

Accuracy

77.2% (5.5b remaining)

Error of 11.3b against oracle of 5.8b and baseline of 30.0b

bsearch108.0ms

Steps
ItersRangePoint
6
1.6855676195581707e-170
7.565529323099765e-170
7.455592343308264e-170
5
-2.3823986784004295e+101
-6.644598008915225e+100
-1.8696623466311214e+101

simplify16.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02638
13538
24338
done4338

end0.0ms

sample3.5s

Algorithm
intervals
Results
919.0ms831×body1280valid
618.0ms5893×body80valid
597.0ms1050×body2560valid
433.0ms2996×body80nan
190.0ms449×body640valid
78.0ms135×body5120valid
73.0ms225×body320valid
20.0ms123×body160valid