Details

Time bar (total: 17.1s)

sample41.0ms

Algorithm
intervals
Results
15.0ms256×body80valid
7.0ms256×pre80true

simplify6.8s

Counts
1 → 1
Iterations

Useful iterations: 1 (5.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: 23.2b

localize15.0ms

Local error

Found 2 expressions with local error:

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

rewrite52.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:
10.0ms
(+ (* x x) (* y y))
39.0ms
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

series126.0ms

Counts
2 → 6
Calls
2 calls:
39.0ms
(+ (* x x) (* y y))
87.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

prune146.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot x y)
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))

rewrite109.0ms

Algorithm
rewrite-expression-head
Rules
68×*-un-lft-identity
66×add-sqr-sqrt
58×times-frac
40×add-cube-cbrt
20×add-exp-log add-cbrt-cube
19×associate-*l*
16×associate-*r*
associate-/l*
distribute-lft-out distribute-lft-out-- difference-of-squares
pow1 cbrt-undiv div-exp associate-/r*
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u div-inv associate-/l/ add-log-exp unswap-sqr
frac-2neg clear-num
frac-times hypot-udef flip3-- flip3-+ div-sub associate-*r/ pow-prod-down associate-*l/ *-commutative flip-- flip-+
Counts
4 → 146
Calls
4 calls:
0.0ms
(hypot x y)
25.0ms
(/ (+ x y) (hypot x y))
57.0ms
(* (/ (- x y) (hypot x y)) (/ (+ x y) (hypot x y)))
18.0ms
(/ (- x y) (hypot x y))

series730.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(hypot x y)
100.0ms
(/ (+ x y) (hypot x y))
450.0ms
(* (/ (- x y) (hypot x y)) (/ (+ x y) (hypot x y)))
132.0ms
(/ (- x y) (hypot x y))

simplify1.5s

Counts
158 → 158
Iterations

Useful iterations: done (1.5s)

IterNodesCost
01722247
14792185
216421971
done50011970

prune556.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite126.0ms

Algorithm
rewrite-expression-head
Rules
69×*-un-lft-identity
67×add-sqr-sqrt
58×times-frac
41×add-cube-cbrt
20×add-exp-log add-cbrt-cube
19×associate-*l*
16×associate-*r*
associate-/l*
pow1 distribute-lft-out distribute-lft-out-- difference-of-squares
cbrt-undiv div-exp associate-/r*
add-log-exp
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u div-inv associate-/l/ unswap-sqr
log-prod log-pow
frac-2neg clear-num
frac-times exp-prod flip3-- exp-to-pow flip3-+ div-sub associate-*r/ rem-log-exp pow-prod-down associate-*l/ *-commutative flip-- flip-+
Counts
4 → 152
Calls
4 calls:
18.0ms
(/ (+ x y) (hypot x y))
5.0ms
(log (exp (* (/ (- x y) (hypot x y)) (/ (+ x y) (hypot x y)))))
75.0ms
(* (/ (- x y) (hypot x y)) (/ (+ x y) (hypot x y)))
21.0ms
(/ (- x y) (hypot x y))

series517.0ms

Counts
4 → 12
Calls
4 calls:
138.0ms
(/ (+ x y) (hypot x y))
119.0ms
(log (exp (* (/ (- x y) (hypot x y)) (/ (+ x y) (hypot x y)))))
145.0ms
(* (/ (- x y) (hypot x y)) (/ (+ x y) (hypot x y)))
114.0ms
(/ (- x y) (hypot x y))

simplify1.5s

Counts
164 → 164
Iterations

Useful iterations: done (1.5s)

IterNodesCost
01852550
14902457
216612203
done50002202

prune525.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize23.0ms

Local error

Found 4 expressions with local error:

0.0b
(log1p (expm1 (* (/ (- x y) (hypot x y)) (/ (+ x y) (hypot x y)))))
0.0b
(* (/ (- x y) (hypot x y)) (/ (+ x y) (hypot x y)))
0.0b
(/ (- x y) (hypot x y))
0.4b
(expm1 (* (/ (- x y) (hypot x y)) (/ (+ x y) (hypot x y))))

rewrite100.0ms

Algorithm
rewrite-expression-head
Rules
57×add-sqr-sqrt
51×*-un-lft-identity
46×times-frac
31×add-cube-cbrt
19×associate-*l*
18×add-exp-log add-cbrt-cube
16×associate-*r*
distribute-lft-out-- difference-of-squares
pow1
cbrt-undiv div-exp log1p-expm1-u associate-/l*
expm1-log1p-u prod-exp cbrt-unprod add-log-exp unswap-sqr
associate-/r* div-inv distribute-lft-out
associate-/l/
frac-times log1p-udef expm1-log1p flip3-- frac-2neg div-sub log1p-expm1 associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative flip-- expm1-udef
Counts
4 → 123
Calls
4 calls:
0.0ms
(log1p (expm1 (* (/ (- x y) (hypot x y)) (/ (+ x y) (hypot x y)))))
63.0ms
(* (/ (- x y) (hypot x y)) (/ (+ x y) (hypot x y)))
31.0ms
(/ (- x y) (hypot x y))
1.0ms
(expm1 (* (/ (- x y) (hypot x y)) (/ (+ x y) (hypot x y))))

series576.0ms

Counts
4 → 12
Calls
4 calls:
154.0ms
(log1p (expm1 (* (/ (- x y) (hypot x y)) (/ (+ x y) (hypot x y)))))
129.0ms
(* (/ (- x y) (hypot x y)) (/ (+ x y) (hypot x y)))
143.0ms
(/ (- x y) (hypot x y))
149.0ms
(expm1 (* (/ (- x y) (hypot x y)) (/ (+ x y) (hypot x y))))

simplify1.3s

Counts
135 → 135
Iterations

Useful iterations: 2 (309.0ms)

IterNodesCost
01702214
14662140
215911898
done50001898

prune503.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

regimes40.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01219
11419
done1419

end0.0ms

sample705.0ms

Algorithm
intervals
Results
300.0ms8000×body80valid
136.0ms8000×pre80true