Details

Time bar (total: 18.2s)

sample32.0ms

Algorithm
intervals
Results
12.0ms256×body80valid
5.0ms256×pre80true

simplify7.2s

Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0915
12314
25214
311314
422914
546114
682214
7130814
8329614
done500014

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 18.2b

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite65.0ms

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

series105.0ms

Counts
2 → 6
Calls
2 calls:
31.0ms
(+ (* x x) (* y y))
73.0ms
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

simplify1.0s

Counts
53 → 53
Iterations

Useful iterations: done (1.0s)

IterNodesCost
095874
1317764
21517635
done5000627

prune194.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite134.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:
23.0ms
(/ (+ x y) (hypot x y))
74.0ms
(* (/ (- x y) (hypot x y)) (/ (+ x y) (hypot x y)))
28.0ms
(/ (- x y) (hypot x y))

series363.0ms

Counts
3 → 9
Calls
3 calls:
123.0ms
(/ (+ x y) (hypot x y))
130.0ms
(* (/ (- x y) (hypot x y)) (/ (+ x y) (hypot x y)))
110.0ms
(/ (- x y) (hypot x y))

simplify1.4s

Counts
145 → 145
Iterations

Useful iterations: done (1.4s)

IterNodesCost
01672187
14722127
216441919
done50001918

prune402.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize34.0ms

Local error

Found 4 expressions with local error:

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

rewrite140.0ms

Algorithm
rewrite-expression-head
Rules
93×add-sqr-sqrt
87×*-un-lft-identity
76×times-frac
51×add-cube-cbrt
22×add-exp-log add-cbrt-cube
19×associate-*l*
16×associate-*r*
15×associate-/l* distribute-lft-out-- difference-of-squares
associate-/r*
cbrt-undiv div-exp
pow1 associate-/l/
div-inv
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u add-log-exp unswap-sqr
flip3-- frac-2neg div-sub clear-num flip-- distribute-lft-out
frac-times associate-*r/ pow-prod-down associate-*l/ *-commutative
Counts
4 → 181
Calls
4 calls:
61.0ms
(* (/ (- x y) (hypot x y)) (/ (+ x y) (hypot x y)))
28.0ms
(/ (- x y) (hypot x y))
24.0ms
(/ (- x y) (hypot x y))
20.0ms
(/ (- x y) (hypot x y))

series518.0ms

Counts
4 → 12
Calls
4 calls:
150.0ms
(* (/ (- x y) (hypot x y)) (/ (+ x y) (hypot x y)))
121.0ms
(/ (- x y) (hypot x y))
132.0ms
(/ (- x y) (hypot x y))
115.0ms
(/ (- x y) (hypot x y))

simplify1.5s

Counts
193 → 193
Iterations

Useful iterations: 2 (388.0ms)

IterNodesCost
01472787
14372709
215412473
done50002473

prune757.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize56.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (hypot x y))
0.7b
(cbrt (+ x y))
0.7b
(cbrt (+ x y))
0.7b
(cbrt (+ x y))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
15×cbrt-prod
14×*-un-lft-identity
add-sqr-sqrt add-cube-cbrt
cbrt-div
pow1 add-exp-log expm1-log1p-u pow1/3 add-cbrt-cube log1p-expm1-u add-log-exp
flip3-+ flip-+ distribute-lft-out
Counts
4 → 61
Calls
4 calls:
1.0ms
(cbrt (hypot x y))
8.0ms
(cbrt (+ x y))
7.0ms
(cbrt (+ x y))
8.0ms
(cbrt (+ x y))

series679.0ms

Counts
4 → 12
Calls
4 calls:
141.0ms
(cbrt (hypot x y))
163.0ms
(cbrt (+ x y))
179.0ms
(cbrt (+ x y))
197.0ms
(cbrt (+ x y))

simplify2.1s

Counts
73 → 73
Iterations

Useful iterations: done (2.1s)

IterNodesCost
078631
1160594
2331562
3740547
42043547
done5000541

prune397.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes68.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

sample993.0ms

Algorithm
intervals
Results
450.0ms8000×body80valid
252.0ms8000×pre80true