Details

Time bar (total: 32.2s)

sample45.0ms

Algorithm
intervals
Results
19.0ms256×body80valid
7.0ms256×pre80true

simplify13.0s

Counts
1 → 1
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0915
12914
212714
341814
4148914
done500114

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 18.6b

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma x x (* y y))
18.4b
(/ (* (- x y) (+ x y)) (fma x x (* y y)))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
associate-/l/
add-exp-log add-cbrt-cube
add-sqr-sqrt frac-times add-cube-cbrt *-un-lft-identity
flip3-- flip3-+ times-frac associate-/r* flip-- flip-+
pow1 cbrt-undiv expm1-log1p-u associate-*r/ div-exp associate-*l/ log1p-expm1-u add-log-exp
frac-2neg prod-exp clear-num cbrt-unprod fma-udef div-inv associate-/l*
Counts
2 → 41
Calls
2 calls:
1.0ms
(fma x x (* y y))
40.0ms
(/ (* (- x y) (+ x y)) (fma x x (* y y)))

series167.0ms

Counts
2 → 6
Calls
2 calls:
63.0ms
(fma x x (* y y))
104.0ms
(/ (* (- x y) (+ x y)) (fma x x (* y y)))

simplify4.9s

Counts
47 → 47
Iterations

Useful iterations: done (4.9s)

IterNodesCost
079717
1779689
done5001573

prune117.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (+ x y) (hypot y x))
0.0b
(* (/ (- x y) (hypot y x)) (/ (+ x y) (hypot y x)))
0.0b
(/ (- x y) (hypot y x))

rewrite102.0ms

Algorithm
rewrite-expression-head
Rules
67×*-un-lft-identity
65×add-sqr-sqrt
58×times-frac
39×add-cube-cbrt
19×add-exp-log associate-*l* add-cbrt-cube
16×associate-*r*
associate-/l*
distribute-lft-out distribute-lft-out-- difference-of-squares
cbrt-undiv div-exp associate-/r*
pow1
prod-exp cbrt-unprod div-inv associate-/l/ unswap-sqr
expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg clear-num
frac-times flip3-- flip3-+ div-sub associate-*r/ pow-prod-down associate-*l/ *-commutative flip-- flip-+
Counts
3 → 136
Calls
3 calls:
19.0ms
(/ (+ x y) (hypot y x))
54.0ms
(* (/ (- x y) (hypot y x)) (/ (+ x y) (hypot y x)))
22.0ms
(/ (- x y) (hypot y x))

series374.0ms

Counts
3 → 9
Calls
3 calls:
136.0ms
(/ (+ x y) (hypot y x))
133.0ms
(* (/ (- x y) (hypot y x)) (/ (+ x y) (hypot y x)))
104.0ms
(/ (- x y) (hypot y x))

simplify2.6s

Counts
145 → 145
Iterations

Useful iterations: done (2.6s)

IterNodesCost
01672187
129372127
done50001921

prune355.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- x y) (hypot y x))
0.0b
(* (/ (- x y) (hypot y x)) (/ (+ x y) (hypot y x)))
0.0b
(* (/ (- x y) (hypot y x)) (/ (+ x y) (hypot y x)))
0.0b
(* (/ (- x y) (hypot y x)) (/ (+ x y) (hypot y x)))

rewrite234.0ms

Algorithm
rewrite-expression-head
Rules
127×add-sqr-sqrt
109×*-un-lft-identity
108×times-frac
65×add-cube-cbrt
57×associate-*l*
48×associate-*r*
42×add-exp-log add-cbrt-cube
13×cbrt-undiv div-exp distribute-lft-out-- difference-of-squares
12×prod-exp cbrt-unprod unswap-sqr
10×pow1
distribute-lft-out
div-inv
associate-/l*
expm1-log1p-u log1p-expm1-u add-log-exp
frac-times associate-*r/ pow-prod-down associate-*l/ associate-/r* *-commutative
associate-/l/
flip3-- frac-2neg div-sub clear-num flip--
Counts
4 → 223
Calls
4 calls:
30.0ms
(/ (- x y) (hypot y x))
82.0ms
(* (/ (- x y) (hypot y x)) (/ (+ x y) (hypot y x)))
55.0ms
(* (/ (- x y) (hypot y x)) (/ (+ x y) (hypot y x)))
56.0ms
(* (/ (- x y) (hypot y x)) (/ (+ x y) (hypot y x)))

series502.0ms

Counts
4 → 12
Calls
4 calls:
116.0ms
(/ (- x y) (hypot y x))
119.0ms
(* (/ (- x y) (hypot y x)) (/ (+ x y) (hypot y x)))
139.0ms
(* (/ (- x y) (hypot y x)) (/ (+ x y) (hypot y x)))
128.0ms
(* (/ (- x y) (hypot y x)) (/ (+ x y) (hypot y x)))

simplify2.5s

Counts
235 → 235
Iterations

Useful iterations: done (2.5s)

IterNodesCost
01474201
128424095
done50013617

prune823.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize12.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma y y (* x x))
18.4b
(/ (* (- x y) (+ x y)) (fma y y (* x x)))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
associate-/l/
add-exp-log add-cbrt-cube
add-sqr-sqrt frac-times add-cube-cbrt *-un-lft-identity
flip3-- flip3-+ times-frac associate-/r* flip-- flip-+
pow1 cbrt-undiv expm1-log1p-u associate-*r/ div-exp associate-*l/ log1p-expm1-u add-log-exp
frac-2neg prod-exp clear-num cbrt-unprod fma-udef div-inv associate-/l*
Counts
2 → 41
Calls
2 calls:
0.0ms
(fma y y (* x x))
24.0ms
(/ (* (- x y) (+ x y)) (fma y y (* x x)))

series136.0ms

Counts
2 → 6
Calls
2 calls:
38.0ms
(fma y y (* x x))
98.0ms
(/ (* (- x y) (+ x y)) (fma y y (* x x)))

simplify4.9s

Counts
47 → 47
Iterations

Useful iterations: done (4.9s)

IterNodesCost
079717
1778689
done5000573

prune108.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes34.0ms

Accuracy

0% (0.0b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 0.1b

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01150
11450
done1450

end0.0ms

sample1.2s

Algorithm
intervals
Results
482.0ms8000×body80valid
445.0ms8000×pre80true