Details

Time bar (total: 27.2s)

sample134.0ms

Algorithm
intervals
Results
31.0ms26×body1280valid
26.0ms191×body80valid
25.0ms29×body2560valid
11.0ms80×body80nan
10.0ms18×body640valid
4.0msbody5120valid
4.0msbody320valid
1.0msbody160valid

simplify237.0ms

Counts
1 → 1

prune29.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 30.0b

localize54.0ms

Local error

Found 4 expressions with local error:

20.9b
(sqrt (- (* b b) (* 4 (* a c))))
1.0b
(- (* b b) (* 4 (* a c)))
0.3b
(- (- b) (sqrt (- (* b b) (* 4 (* a c)))))
0.1b
(/ (- (- b) (sqrt (- (* b b) (* 4 (* a c))))) (* 2 a))

rewrite165.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-cbrt-cube add-exp-log
neg-mul-1 times-frac associate-/l*
distribute-lft-out-- difference-of-squares
pow1
expm1-log1p-u flip3-- insert-posit16 log1p-expm1-u flip--
diff-log
cbrt-undiv sub-neg sqrt-div div-exp associate-/l/
associate--l- neg-sub0 rem-sqrt-square clear-num associate-/r* frac-2neg sqrt-pow1 pow1/2 div-sub neg-log prod-exp cbrt-unprod div-inv
Counts
4 → 161
Calls
4 calls:
Slowest
85.0ms
(/ (- (- b) (sqrt (- (* b b) (* 4 (* a c))))) (* 2 a))
39.0ms
(- (- b) (sqrt (- (* b b) (* 4 (* a c)))))
20.0ms
(sqrt (- (* b b) (* 4 (* a c))))
18.0ms
(- (* b b) (* 4 (* a c)))

series454.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
136.0ms
(- (- b) (sqrt (- (* b b) (* 4 (* a c)))))
135.0ms
(/ (- (- b) (sqrt (- (* b b) (* 4 (* a c))))) (* 2 a))
114.0ms
(sqrt (- (* b b) (* 4 (* a c))))
69.0ms
(- (* b b) (* 4 (* a c)))

simplify818.0ms

Counts
173 → 173

prune2.2s

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 4.6b

localize53.0ms

Local error

Found 4 expressions with local error:

20.9b
(sqrt (- (* b b) (* 4 (* a c))))
1.0b
(- (* b b) (* 4 (* a c)))
0.3b
(- (- b) (sqrt (- (* b b) (* 4 (* a c)))))
0.2b
(* (- (- b) (sqrt (- (* b b) (* 4 (* a c))))) (/ 1/2 a))

rewrite168.0ms

Algorithm
rewrite-expression-head
Rules
68×add-sqr-sqrt
62×*-un-lft-identity
61×prod-diff
54×add-cube-cbrt
35×sqrt-prod
23×distribute-rgt-neg-in
21×distribute-lft-neg-in
13×associate-*r*
11×fma-neg
10×times-frac add-log-exp
add-cbrt-cube add-exp-log
pow1 neg-mul-1 associate-*l*
flip3-- flip--
expm1-log1p-u insert-posit16 log1p-expm1-u distribute-lft-out-- difference-of-squares
diff-log
frac-times sub-neg sqrt-div associate-*l/ prod-exp cbrt-unprod unswap-sqr
associate--l- neg-sub0 cbrt-undiv rem-sqrt-square sqrt-pow1 pow1/2 div-exp pow-prod-down neg-log associate-*r/ *-commutative div-inv
Counts
4 → 169
Calls
4 calls:
Slowest
87.0ms
(* (- (- b) (sqrt (- (* b b) (* 4 (* a c))))) (/ 1/2 a))
39.0ms
(- (- b) (sqrt (- (* b b) (* 4 (* a c)))))
20.0ms
(sqrt (- (* b b) (* 4 (* a c))))
18.0ms
(- (* b b) (* 4 (* a c)))

series382.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
140.0ms
(* (- (- b) (sqrt (- (* b b) (* 4 (* a c))))) (/ 1/2 a))
106.0ms
(sqrt (- (* b b) (* 4 (* a c))))
84.0ms
(- (- b) (sqrt (- (* b b) (* 4 (* a c)))))
52.0ms
(- (* b b) (* 4 (* a c)))

simplify689.0ms

Counts
181 → 181

prune2.5s

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 4.6b

localize47.0ms

Local error

Found 4 expressions with local error:

20.9b
(sqrt (fma b b (* (* -4 a) c)))
1.3b
(fma b b (* (* -4 a) c))
0.3b
(- (- b) (sqrt (fma b b (* (* -4 a) c))))
0.2b
(/ 1 (/ (* a 2) (- (- b) (sqrt (fma b b (* (* -4 a) c))))))

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
89×add-sqr-sqrt
88×*-un-lft-identity
68×add-cube-cbrt
67×times-frac
60×prod-diff
38×sqrt-prod
26×distribute-rgt-neg-in
25×add-exp-log
21×distribute-lft-neg-in
13×associate-/r* add-cbrt-cube
12×div-exp
10×fma-neg distribute-lft-out-- difference-of-squares
associate-/r/
add-log-exp
neg-mul-1
pow1
cbrt-undiv flip3-- div-inv flip--
expm1-log1p-u insert-posit16 log1p-expm1-u
rec-exp 1-exp prod-exp associate-/l*
diff-log
associate--l- neg-sub0 rem-sqrt-square clear-num sub-neg frac-2neg sqrt-pow1 pow1/2 neg-log cbrt-unprod fma-udef pow-flip inv-pow
Counts
4 → 201
Calls
4 calls:
Slowest
38.0ms
(/ 1 (/ (* a 2) (- (- b) (sqrt (fma b b (* (* -4 a) c))))))
27.0ms
(- (- b) (sqrt (fma b b (* (* -4 a) c))))
2.0ms
(sqrt (fma b b (* (* -4 a) c)))
0.0ms
(fma b b (* (* -4 a) c))

series473.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
152.0ms
(- (- b) (sqrt (fma b b (* (* -4 a) c))))
140.0ms
(/ 1 (/ (* a 2) (- (- b) (sqrt (fma b b (* (* -4 a) c))))))
110.0ms
(sqrt (fma b b (* (* -4 a) c)))
72.0ms
(fma b b (* (* -4 a) c))

simplify995.0ms

Counts
213 → 213

prune2.9s

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 4.6b

localize49.0ms

Local error

Found 4 expressions with local error:

20.9b
(sqrt (fma b b (* (* -4 a) c)))
1.3b
(fma b b (* (* -4 a) c))
0.3b
(- (- b) (sqrt (fma b b (* (* -4 a) c))))
0.3b
(/ (/ 1/2 a) (/ 1 (- (- b) (sqrt (fma b b (* (* -4 a) c))))))

rewrite100.0ms

Algorithm
rewrite-expression-head
Rules
897×times-frac
569×add-sqr-sqrt
568×*-un-lft-identity
396×add-cube-cbrt
86×distribute-lft-out-- difference-of-squares
76×sqrt-prod
64×distribute-rgt-neg-in
60×prod-diff
43×div-inv
29×associate-/r/
27×associate-/r*
26×add-exp-log
21×distribute-lft-neg-in
16×add-cbrt-cube div-exp
15×flip3-- flip--
13×associate-/l*
10×fma-neg
cbrt-undiv add-log-exp
neg-mul-1
pow1
expm1-log1p-u insert-posit16 log1p-expm1-u
rec-exp diff-log 1-exp
associate--l- neg-sub0 rem-sqrt-square clear-num sub-neg frac-2neg sqrt-pow1 pow1/2 neg-log fma-udef associate-/l/
Counts
4 → 536
Calls
4 calls:
Slowest
48.0ms
(/ (/ 1/2 a) (/ 1 (- (- b) (sqrt (fma b b (* (* -4 a) c))))))
21.0ms
(- (- b) (sqrt (fma b b (* (* -4 a) c))))
3.0ms
(sqrt (fma b b (* (* -4 a) c)))
0.0ms
(fma b b (* (* -4 a) c))

series513.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
186.0ms
(/ (/ 1/2 a) (/ 1 (- (- b) (sqrt (fma b b (* (* -4 a) c))))))
138.0ms
(- (- b) (sqrt (fma b b (* (* -4 a) c))))
119.0ms
(sqrt (fma b b (* (* -4 a) c)))
70.0ms
(fma b b (* (* -4 a) c))

simplify1.3s

Counts
548 → 548

prune8.1s

Pruning

11 alts after pruning (8 fresh and 3 done)

Merged error: 4.6b

regimes308.0ms

Accuracy

84% (4.4b remaining)

Error of 9.7b against oracle of 5.3b and baseline of 32.6b

bsearch190.0ms

end0.0ms

sample4.2s

Algorithm
intervals
Results
1.7s1075×body2560valid
778.0ms5877×body80valid
587.0ms846×body1280valid
319.0ms2806×body80nan
289.0ms462×body640valid
148.0ms113×body5120valid
79.0ms221×body320valid
23.0ms102×body160valid