Details

Time bar (total: 32.6s)

sample127.0ms

Algorithm
intervals
Results
39.0ms183×body80valid
30.0ms39×body2560valid
14.0ms23×body1280valid
11.0ms98×body80nan
10.0ms18×body640valid
3.0msbody320valid
2.0msbody5120valid
1.0msbody160valid

simplify154.0ms

Counts
1 → 1
Calls
1 calls:
Slowest
154.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4 a) c)))) (* 2 a))

prune20.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 34.7b

localize50.0ms

Local error

Found 4 expressions with local error:

23.0b
(sqrt (- (* b b) (* (* 4 a) c)))
1.8b
(+ (- b) (sqrt (- (* b b) (* (* 4 a) c))))
1.2b
(- (* b b) (* (* 4 a) c))
0.3b
(/ (+ (- b) (sqrt (- (* b b) (* (* 4 a) c)))) (* 2 a))

rewrite91.0ms

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
10×add-log-exp
add-cbrt-cube add-exp-log
add-sqr-sqrt
add-cube-cbrt
distribute-lft-out
pow1 times-frac associate-/l*
insert-posit16
distribute-rgt-neg-in sqrt-prod
neg-sub0 cbrt-undiv sum-log flip3-+ flip3-- sqrt-div div-exp associate-+l- flip-+ flip-- associate-/l/
+-commutative rem-sqrt-square clear-num associate-/r* sub-neg frac-2neg sqrt-pow1 pow1/2 diff-log div-sub neg-log prod-exp cbrt-unprod div-inv
Counts
4 → 74
Calls
4 calls:
Slowest
51.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4 a) c)))) (* 2 a))
14.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4 a) c))))
13.0ms
(sqrt (- (* b b) (* (* 4 a) c)))
11.0ms
(- (* b b) (* (* 4 a) c))

series416.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
145.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4 a) c)))) (* 2 a))
105.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4 a) c))))
94.0ms
(sqrt (- (* b b) (* (* 4 a) c)))
71.0ms
(- (* b b) (* (* 4 a) c))

simplify5.4s

Counts
43 → 86
Calls
43 calls:
Slowest
643.0ms
(/ (* (* (+ (- b) (sqrt (- (* b b) (* (* 4 a) c)))) (+ (- b) (sqrt (- (* b b) (* (* 4 a) c))))) (+ (- b) (sqrt (- (* b b) (* (* 4 a) c))))) (* (* (* 2 a) (* 2 a)) (* 2 a)))
404.0ms
(- (* (- b) (- b)) (* (sqrt (- (* b b) (* (* 4 a) c))) (sqrt (- (* b b) (* (* 4 a) c)))))
387.0ms
(sqrt (- (* (* b b) (* b b)) (* (* (* 4 a) c) (* (* 4 a) c))))
378.0ms
(+ (pow (- b) 3) (pow (sqrt (- (* b b) (* (* 4 a) c))) 3))
289.0ms
(/ (exp (* b b)) (exp (* (* 4 a) c)))

prune1.1s

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 4.5b

localize39.0ms

Local error

Found 4 expressions with local error:

23.0b
(sqrt (- (* b b) (* (* 4 a) c)))
1.8b
(+ (- b) (sqrt (- (* b b) (* (* 4 a) c))))
1.2b
(- (* b b) (* (* 4 a) c))
0.3b
(/ (* 2 a) (+ (- b) (sqrt (- (* b b) (* (* 4 a) c)))))

rewrite102.0ms

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
10×add-log-exp
add-cbrt-cube add-exp-log
add-sqr-sqrt
add-cube-cbrt
distribute-lft-out
pow1 associate-/r* times-frac
insert-posit16
distribute-rgt-neg-in sqrt-prod
cbrt-undiv sum-log flip3-+ flip3-- sqrt-div div-exp associate-/r/ flip-+ flip--
neg-sub0 +-commutative rem-sqrt-square clear-num sub-neg frac-2neg sqrt-pow1 pow1/2 diff-log neg-log prod-exp associate-+l- cbrt-unprod div-inv associate-/l*
Counts
4 → 73
Calls
4 calls:
Slowest
68.0ms
(/ (* 2 a) (+ (- b) (sqrt (- (* b b) (* (* 4 a) c)))))
15.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4 a) c))))
10.0ms
(- (* b b) (* (* 4 a) c))
8.0ms
(sqrt (- (* b b) (* (* 4 a) c)))

series608.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
305.0ms
(/ (* 2 a) (+ (- b) (sqrt (- (* b b) (* (* 4 a) c)))))
115.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4 a) c))))
106.0ms
(sqrt (- (* b b) (* (* 4 a) c)))
82.0ms
(- (* b b) (* (* 4 a) c))

simplify4.9s

Counts
45 → 85
Calls
45 calls:
Slowest
442.0ms
(sqrt (- (* (* b b) (* b b)) (* (* (* 4 a) c) (* (* 4 a) c))))
380.0ms
(+ (* (- b) (- b)) (- (* (sqrt (- (* b b) (* (* 4 a) c))) (sqrt (- (* b b) (* (* 4 a) c)))) (* (- b) (sqrt (- (* b b) (* (* 4 a) c))))))
317.0ms
(/ (* (* (* 2 a) (* 2 a)) (* 2 a)) (* (* (+ (- b) (sqrt (- (* b b) (* (* 4 a) c)))) (+ (- b) (sqrt (- (* b b) (* (* 4 a) c))))) (+ (- b) (sqrt (- (* b b) (* (* 4 a) c))))))
266.0ms
(/ (* (* (* 2 2) 2) (* (* a a) a)) (* (* (+ (- b) (sqrt (- (* b b) (* (* 4 a) c)))) (+ (- b) (sqrt (- (* b b) (* (* 4 a) c))))) (+ (- b) (sqrt (- (* b b) (* (* 4 a) c))))))
265.0ms
(/ (exp (* b b)) (exp (* (* 4 a) c)))

prune956.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 4.5b

localize60.0ms

Local error

Found 4 expressions with local error:

23.0b
(sqrt (- (* b b) (* (* 4 a) c)))
23.0b
(sqrt (- (* b b) (* (* 4 a) c)))
10.1b
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 4 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4 a) c))))))
1.2b
(- (* b b) (* (* 4 a) c))

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
add-sqr-sqrt
pow1 *-un-lft-identity add-cube-cbrt sqrt-prod
add-cbrt-cube sqrt-div add-exp-log insert-posit16
flip3-- flip--
rem-sqrt-square sum-log sqrt-pow1 pow1/2
neg-sub0 +-commutative sub-neg flip3-+ diff-log neg-log associate-+l- flip-+
Counts
4 → 59
Calls
4 calls:
Slowest
23.0ms
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 4 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4 a) c))))))
15.0ms
(sqrt (- (* b b) (* (* 4 a) c)))
14.0ms
(- (* b b) (* (* 4 a) c))
14.0ms
(sqrt (- (* b b) (* (* 4 a) c)))

series408.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
135.0ms
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 4 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4 a) c))))))
103.0ms
(sqrt (- (* b b) (* (* 4 a) c)))
91.0ms
(sqrt (- (* b b) (* (* 4 a) c)))
79.0ms
(- (* b b) (* (* 4 a) c))

simplify3.9s

Counts
29 → 71
Calls
29 calls:
Slowest
413.0ms
(sqrt (- (* (* b b) (* b b)) (* (* (* 4 a) c) (* (* 4 a) c))))
375.0ms
(* (/ 1 (exp b)) (exp (* (sqrt (sqrt (- (* b b) (* (* 4 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4 a) c)))))))
336.0ms
(sqrt (- (* (* b b) (* b b)) (* (* (* 4 a) c) (* (* 4 a) c))))
317.0ms
(* (exp (- b)) (exp (* (sqrt (sqrt (- (* b b) (* (* 4 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4 a) c)))))))
277.0ms
(- b (* 2 (/ (* a c) b)))

prune1.1s

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 4.5b

localize69.0ms

Local error

Found 4 expressions with local error:

23.8b
(cbrt (- (* b b) (* (* 4 a) c)))
23.8b
(cbrt (- (* b b) (* (* 4 a) c)))
23.0b
(sqrt (- (* b b) (* (* 4 a) c)))
10.1b
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 4 a) c)))) (sqrt (* (fabs (cbrt (- (* b b) (* (* 4 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4 a) c))))))))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-log-exp
*-un-lft-identity add-cube-cbrt
cbrt-prod
pow1
cbrt-div add-cbrt-cube add-exp-log insert-posit16
flip3-- sqrt-prod flip--
sum-log pow1/3 sqrt-div
neg-sub0 +-commutative rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 neg-log associate-+l- flip-+
Counts
4 → 58
Calls
4 calls:
Slowest
11.0ms
(cbrt (- (* b b) (* (* 4 a) c)))
10.0ms
(cbrt (- (* b b) (* (* 4 a) c)))
8.0ms
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 4 a) c)))) (sqrt (* (fabs (cbrt (- (* b b) (* (* 4 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4 a) c))))))))
8.0ms
(sqrt (- (* b b) (* (* 4 a) c)))

series518.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
153.0ms
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 4 a) c)))) (sqrt (* (fabs (cbrt (- (* b b) (* (* 4 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4 a) c))))))))
148.0ms
(cbrt (- (* b b) (* (* 4 a) c)))
134.0ms
(cbrt (- (* b b) (* (* 4 a) c)))
84.0ms
(sqrt (- (* b b) (* (* 4 a) c)))

simplify5.7s

Counts
31 → 70
Calls
31 calls:
Slowest
697.0ms
(* (/ 1 (exp b)) (exp (* (sqrt (sqrt (- (* b b) (* (* 4 a) c)))) (sqrt (* (fabs (cbrt (- (* b b) (* (* 4 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4 a) c)))))))))
517.0ms
(* (exp (- b)) (exp (* (sqrt (sqrt (- (* b b) (* (* 4 a) c)))) (sqrt (* (fabs (cbrt (- (* b b) (* (* 4 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4 a) c)))))))))
474.0ms
(cbrt (- (* (* b b) (* b b)) (* (* (* 4 a) c) (* (* 4 a) c))))
405.0ms
(sqrt (- (* (* b b) (* b b)) (* (* (* 4 a) c) (* (* 4 a) c))))
380.0ms
(cbrt (- (* (* b b) (* b b)) (* (* (* 4 a) c) (* (* 4 a) c))))

prune1.3s

Pruning

10 alts after pruning (7 fresh and 3 done)

Merged error: 4.5b

regimes410.0ms

Accuracy

83.2% (4.8b remaining)

Error of 10.2b against oracle of 5.4b and baseline of 34.0b

bsearch200.0ms

end0.0ms

sample4.9s

Algorithm
intervals
Results
1.5s1084×body2560valid
1.3s5840×body80valid
868.0ms915×body1280valid
452.0ms2882×body80nan
257.0ms442×body640valid
121.0ms124×body5120valid
118.0ms238×body320valid
34.0ms142×body160valid