Details

Time bar (total: 12.9s)

sample82.0ms

Algorithm
intervals
Results
22.0ms319×body80nan
18.0ms327×body80valid

simplify4.4s

Counts
1 → 1
Iterations
IterNodes
done5000
83626
7879
6369
5164
471
339
222
115
08

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 22.5b

localize15.0ms

Local error

Found 3 expressions with local error:

0.0b
(* x (sqrt (- (* y y) (* z z))))
2.4b
(- (* y y) (* z z))
22.6b
(sqrt (- (* y y) (* z z)))

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
sqrt-prod
*-un-lft-identity associate-*r* add-cube-cbrt
pow1
add-cbrt-cube add-exp-log add-log-exp
sqrt-div
expm1-log1p-u flip3-- associate-*l* log1p-expm1-u flip-- difference-of-squares
associate-*r/ unswap-sqr
rem-sqrt-square sub-neg sqrt-pow1 pow1/2 fma-neg diff-log prod-diff pow-prod-down prod-exp *-commutative cbrt-unprod
Counts
3 → 62
Calls
3 calls:
27.0ms
(* x (sqrt (- (* y y) (* z z))))
20.0ms
(- (* y y) (* z z))
15.0ms
(sqrt (- (* y y) (* z z)))

series263.0ms

Counts
3 → 9
Calls
3 calls:
146.0ms
(* x (sqrt (- (* y y) (* z z))))
54.0ms
(- (* y y) (* z z))
63.0ms
(sqrt (- (* y y) (* z z)))

simplify1.1s

Counts
71 → 71
Iterations
IterNodes
done5001
2956
1222
094

prune492.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.3b

localize4.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify0.0ms

Counts
0 → 0
Iterations
IterNodes
done0
00

prune14.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.3b

localize11.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify1.0ms

Counts
0 → 0
Iterations
IterNodes
done0
00

prune10.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.3b

localize25.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (- y z))
0.0b
(sqrt (+ y z))
0.1b
(* x (sqrt (+ y z)))
0.2b
(* (* x (sqrt (+ y z))) (sqrt (- y z)))

rewrite123.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
19×*-un-lft-identity sqrt-prod
18×sqrt-div
15×associate-*r*
13×pow1
11×add-cbrt-cube add-exp-log add-cube-cbrt
10×associate-*r/
flip3-+ flip-+
expm1-log1p-u frac-times flip3-- associate-*l* pow-prod-down prod-exp cbrt-unprod log1p-expm1-u flip-- add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 associate-*l/ *-commutative distribute-lft-out distribute-lft-out-- difference-of-squares unswap-sqr
hypot-def
Counts
4 → 98
Calls
4 calls:
18.0ms
(sqrt (- y z))
13.0ms
(sqrt (+ y z))
30.0ms
(* x (sqrt (+ y z)))
56.0ms
(* (* x (sqrt (+ y z))) (sqrt (- y z)))

series430.0ms

Counts
4 → 12
Calls
4 calls:
106.0ms
(sqrt (- y z))
77.0ms
(sqrt (+ y z))
88.0ms
(* x (sqrt (+ y z)))
159.0ms
(* (* x (sqrt (+ y z))) (sqrt (- y z)))

simplify1.5s

Counts
110 → 110
Iterations
IterNodes
done5000
21894
1430
0170

prune659.0ms

Pruning

4 alts after pruning (0 fresh and 4 done)

Merged error: 0.3b

regimes701.0ms

Accuracy

96.7% (0.8b remaining)

Error of 0.9b against oracle of 0.1b and baseline of 24.8b

bsearch135.0ms

Steps
ItersRangePoint
7
-3.2400911041966166e-233
-1.6291560263387635e-234
-1.6503593403623256e-234

simplify4.0ms

Iterations
IterNodes
done14
214
111
08

end0.0ms

sample2.8s

Algorithm
intervals
Results
639.0ms9826×body80nan
540.0ms10057×body80valid