Details

Time bar (total: 15.3s)

sample99.0ms

Algorithm
intervals
Results
22.0ms41×body2560valid
16.0ms186×body80valid
12.0ms28×body1280valid
9.0ms108×body80nan
6.0ms17×body640valid
3.0msbody5120valid
1.0msbody320valid
1.0msbody160valid

simplify182.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01417
12917
26417
312017
414517
515217
615617
done15617

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 36.3b

localize23.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))))

rewrite159.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:
96.0ms
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
10.0ms
(- (* b b) (* 4.0 (* a c)))
35.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
12.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series364.0ms

Counts
4 → 12
Calls
4 calls:
121.0ms
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
57.0ms
(- (* b b) (* 4.0 (* a c)))
88.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
98.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify1.5s

Counts
169 → 169
Iterations

Useful iterations: done (1.5s)

IterNodesCost
02436690
15874705
217533760
done50003113

prune560.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 5.2b

localize36.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)))))

rewrite166.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:
24.0ms
(- (sqrt (fma b b (- (* 4.0 (* a c))))) b)
71.0ms
(/ (/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b)) (* 2.0 a))
53.0ms
(/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b))
3.0ms
(sqrt (fma b b (- (* 4.0 (* a c)))))

series777.0ms

Counts
4 → 12
Calls
4 calls:
124.0ms
(- (sqrt (fma b b (- (* 4.0 (* a c))))) b)
234.0ms
(/ (/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b)) (* 2.0 a))
292.0ms
(/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b))
127.0ms
(sqrt (fma b b (- (* 4.0 (* a c)))))

simplify1.4s

Counts
183 → 183
Iterations

Useful iterations: done (1.4s)

IterNodesCost
02755401
16554711
222914237
done50014169

prune652.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 5.1b

localize27.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)))))

rewrite190.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:
20.0ms
(- (sqrt (fma b b (- (* 4.0 (* a c))))) b)
114.0ms
(* (/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b)) (/ 1 (* 2.0 a)))
41.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)))))

series843.0ms

Counts
4 → 12
Calls
4 calls:
150.0ms
(- (sqrt (fma b b (- (* 4.0 (* a c))))) b)
237.0ms
(* (/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b)) (/ 1 (* 2.0 a)))
307.0ms
(/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b))
148.0ms
(sqrt (fma b b (- (* 4.0 (* a c)))))

simplify1.7s

Counts
181 → 181
Iterations

Useful iterations: done (1.7s)

IterNodesCost
02805119
17144377
225023764
done50003696

prune705.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 5.1b

localize17.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)))))

rewrite41.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:
0.0ms
(fma b b (- (* 4.0 (* a c))))
12.0ms
(- (sqrt (fma b b (- (* 4.0 (* a c))))) b)
24.0ms
(/ (* (* a c) 4.0) (* 2.0 a))
2.0ms
(sqrt (fma b b (- (* 4.0 (* a c)))))

series383.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(fma b b (- (* 4.0 (* a c))))
172.0ms
(- (sqrt (fma b b (- (* 4.0 (* a c))))) b)
25.0ms
(/ (* (* a c) 4.0) (* 2.0 a))
108.0ms
(sqrt (fma b b (- (* 4.0 (* a c)))))

simplify1.1s

Counts
105 → 105
Iterations

Useful iterations: done (1.1s)

IterNodesCost
01681926
14131650
218051333
done50001266

prune420.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 5.1b

regimes277.0ms

Accuracy

77.2% (5.5b remaining)

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

bsearch137.0ms

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

simplify7.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02638
13538
24338
done4338

end0.0ms

sample3.5s

Algorithm
intervals
Results
1.0s1050×body2560valid
727.0ms5893×body80valid
525.0ms831×body1280valid
301.0ms2996×body80nan
195.0ms449×body640valid
124.0ms135×body5120valid
52.0ms225×body320valid
23.0ms123×body160valid