Details

Time bar (total: 1.0m)

sample95.0ms

Algorithm
intervals
Results
24.0ms42×body2560valid
17.0ms173×body80valid
16.0ms29×body1280valid
10.0ms98×body80nan
7.0ms15×body640valid
6.0msbody5120valid
2.0msbody320valid
1.0msbody160valid

simplify89.0ms

Counts
1 → 1
Calls
1 calls:
Slowest
88.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 33.7b

localize29.0ms

Local error

Found 4 expressions with local error:

23.0b
(sqrt (- (* b_2 b_2) (* a c)))
1.1b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
0.4b
(- (* b_2 b_2) (* a c))
0.1b
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)

rewrite539.0ms

Algorithm
rewrite-expression-head
Rules
79×add-sqr-sqrt
78×*-un-lft-identity
61×prod-diff
58×add-cube-cbrt
38×sqrt-prod
26×distribute-rgt-neg-in
21×distribute-lft-neg-in times-frac
11×fma-neg
10×distribute-lft-out-- add-log-exp difference-of-squares
neg-mul-1 associate-/l*
add-cbrt-cube add-exp-log
pow1
expm1-log1p-u flip3-- insert-posit16 log1p-expm1-u flip--
associate-/r* diff-log
sub-neg sqrt-div associate-/l/
associate--l- neg-sub0 cbrt-undiv rem-sqrt-square clear-num frac-2neg sqrt-pow1 pow1/2 div-sub div-exp neg-log div-inv
Counts
4 → 175
Calls
4 calls:
Slowest
407.0ms
(sqrt (- (* b_2 b_2) (* a c)))
75.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
39.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
15.0ms
(- (* b_2 b_2) (* a c))

series361.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
111.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
100.0ms
(sqrt (- (* b_2 b_2) (* a c)))
95.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
55.0ms
(- (* b_2 b_2) (* a c))

simplify16.3s

Counts
210 → 187
Calls
210 calls:
Slowest
414.0ms
(/ (* (* (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))) (* (* a a) a))
344.0ms
(sqrt (- (pow (* b_2 b_2) 3) (pow (* a c) 3)))
333.0ms
(- (* (- b_2) (- b_2)) (* (sqrt (- (* b_2 b_2) (* a c))) (sqrt (- (* b_2 b_2) (* a c)))))
316.0ms
(sqrt (- (* (* b_2 b_2) (* b_2 b_2)) (* (* a c) (* a c))))
227.0ms
(fma (- 1) b_2 (- (* (cbrt (sqrt (- (* b_2 b_2) (* a c)))) (* (cbrt (sqrt (- (* b_2 b_2) (* a c)))) (cbrt (sqrt (- (* b_2 b_2) (* a c))))))))

prune1.8s

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 3.8b

localize35.0ms

Local error

Found 4 expressions with local error:

23.0b
(sqrt (- (* b_2 b_2) (* a c)))
12.1b
(/ (* a c) (* a (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))))
0.7b
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
0.4b
(- (* b_2 b_2) (* a c))

rewrite84.0ms

Algorithm
rewrite-expression-head
Rules
16×add-cbrt-cube add-exp-log
12×*-un-lft-identity
10×fma-def add-log-exp
add-sqr-sqrt
add-cube-cbrt
pow1
expm1-log1p-u cbrt-undiv distribute-rgt-neg-in div-exp prod-exp cbrt-unprod insert-posit16 log1p-expm1-u
distribute-lft-neg-in sqrt-prod
sum-log flip3-+ flip3-- sqrt-div associate-*r/ associate-/r/ flip-+ flip-- distribute-lft-out
neg-sub0 +-commutative rem-sqrt-square clear-num associate-/r* neg-mul-1 sub-neg frac-2neg sqrt-pow1 times-frac pow1/2 fma-neg diff-log prod-diff neg-log associate-+l- div-inv associate-/l*
Counts
4 → 89
Calls
4 calls:
Slowest
29.0ms
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
28.0ms
(/ (* a c) (* a (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))))
15.0ms
(- (* b_2 b_2) (* a c))
9.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series427.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
196.0ms
(/ (* a c) (* a (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))))
97.0ms
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
85.0ms
(sqrt (- (* b_2 b_2) (* a c)))
49.0ms
(- (* b_2 b_2) (* a c))

simplify9.7s

Counts
46 → 101
Calls
46 calls:
Slowest
1.6s
(/ (* (* (* a c) (* a c)) (* a c)) (* (* (* a (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))) (* a (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))) (* a (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))))
1.4s
(/ (* (* (* a c) (* a c)) (* a c)) (* (* (* a a) a) (* (* (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))) (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))))
1.1s
(/ (* (* (* a a) a) (* (* c c) c)) (* (* (* a (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))) (* a (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))) (* a (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))))
1.1s
(/ (* (* (* a a) a) (* (* c c) c)) (* (* (* a a) a) (* (* (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))) (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))))
715.0ms
(- (log (* a c)) (log (* a (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))))

prune1.0s

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 3.8b

localize38.0ms

Local error

Found 4 expressions with local error:

23.0b
(sqrt (- (* b_2 b_2) (* a c)))
0.7b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
0.4b
(- (* b_2 b_2) (* a c))
0.1b
(/ c (- (sqrt (- (* b_2 b_2) (* a c))) b_2))

rewrite140.0ms

Algorithm
rewrite-expression-head
Rules
51×add-sqr-sqrt
40×*-un-lft-identity
30×add-cube-cbrt
20×sqrt-prod
19×prod-diff
18×times-frac
10×difference-of-squares
add-log-exp
fma-neg
associate-/r* add-cbrt-cube add-exp-log
pow1 distribute-lft-out--
expm1-log1p-u flip3-- insert-posit16 log1p-expm1-u flip--
associate-/l*
sub-neg sqrt-div diff-log associate-/r/
cbrt-undiv rem-sqrt-square clear-num frac-2neg sqrt-pow1 pow1/2 div-exp div-inv
Counts
4 → 121
Calls
4 calls:
Slowest
70.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
42.0ms
(/ c (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
19.0ms
(sqrt (- (* b_2 b_2) (* a c)))
8.0ms
(- (* b_2 b_2) (* a c))

series487.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
272.0ms
(/ c (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
88.0ms
(sqrt (- (* b_2 b_2) (* a c)))
86.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
40.0ms
(- (* b_2 b_2) (* a c))

simplify5.9s

Counts
117 → 133
Calls
117 calls:
Slowest
685.0ms
(+ (* (sqrt (- (* b_2 b_2) (* a c))) (sqrt (- (* b_2 b_2) (* a c)))) (+ (* b_2 b_2) (* (sqrt (- (* b_2 b_2) (* a c))) b_2)))
439.0ms
(sqrt (- (pow (* b_2 b_2) 3) (pow (* a c) 3)))
302.0ms
(sqrt (- (* (* b_2 b_2) (* b_2 b_2)) (* (* a c) (* a c))))
210.0ms
(/ (* (* c c) c) (* (* (- (sqrt (- (* b_2 b_2) (* a c))) b_2) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)))
209.0ms
(- b_2 (* 1/2 (/ (* a c) b_2)))

prune1.5s

Pruning

13 alts after pruning (11 fresh and 2 done)

Merged error: 3.8b

localize49.0ms

Local error

Found 4 expressions with local error:

23.0b
(sqrt (- (* b_2 b_2) (* a c)))
0.7b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
0.6b
(/ 1 (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c))
0.4b
(- (* b_2 b_2) (* a c))

rewrite140.0ms

Algorithm
rewrite-expression-head
Rules
138×times-frac
135×add-sqr-sqrt
108×*-un-lft-identity
82×add-cube-cbrt
28×sqrt-prod
26×difference-of-squares
22×associate-/r*
19×prod-diff
15×add-exp-log
13×distribute-lft-out--
add-cbrt-cube
add-log-exp
fma-neg div-exp
pow1
div-inv
expm1-log1p-u insert-posit16 log1p-expm1-u
cbrt-undiv flip3-- flip-- associate-/l*
rec-exp sub-neg sqrt-div diff-log 1-exp
rem-sqrt-square clear-num frac-2neg sqrt-pow1 pow1/2 associate-/r/ pow-flip inv-pow
Counts
4 → 192
Calls
4 calls:
Slowest
76.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
31.0ms
(/ 1 (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c))
19.0ms
(sqrt (- (* b_2 b_2) (* a c)))
8.0ms
(- (* b_2 b_2) (* a c))

series383.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
153.0ms
(/ 1 (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c))
106.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
75.0ms
(sqrt (- (* b_2 b_2) (* a c)))
48.0ms
(- (* b_2 b_2) (* a c))

simplify15.7s

Counts
232 → 204
Calls
232 calls:
Slowest
412.0ms
(/ (* (* 1 1) 1) (/ (* (* (- (sqrt (- (* b_2 b_2) (* a c))) b_2) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) (* (* c c) c)))
360.0ms
(sqrt (- (pow (* b_2 b_2) 3) (pow (* a c) 3)))
357.0ms
(/ (* (* 1 1) 1) (* (* (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c) (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c)) (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c)))
306.0ms
(/ (* (cbrt 1) (cbrt 1)) (/ (* (cbrt (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) (cbrt (- (sqrt (- (* b_2 b_2) (* a c))) b_2))) (* (cbrt c) (cbrt c))))
290.0ms
(/ (sqrt 1) (/ (* (cbrt (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) (cbrt (- (sqrt (- (* b_2 b_2) (* a c))) b_2))) (* (cbrt c) (cbrt c))))

prune2.2s

Pruning

13 alts after pruning (11 fresh and 2 done)

Merged error: 3.8b

regimes659.0ms

Accuracy

94.6% (1.3b remaining)

Error of 6.9b against oracle of 5.6b and baseline of 29.3b

bsearch374.0ms

end0.0ms

sample3.7s

Algorithm
intervals
Results
1.2s5874×body80valid
812.0ms1092×body2560valid
605.0ms824×body1280valid
380.0ms3017×body80nan
234.0ms446×body640valid
137.0ms118×body5120valid
70.0ms224×body320valid
26.0ms124×body160valid