Details

Time bar (total: 16.5s)

sample102.0ms

Algorithm
intervals
Results
19.0ms201×body80valid
12.0msbody160valid
10.0ms28×body640valid
8.0ms116×body80nan
7.0ms15×body1280valid
6.0ms16×body1280nan
4.0ms11×body640nan
2.0ms10×body320nan
2.0msbody320valid
0.0msbody160nan

simplify1.6s

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0912
11912
22912
34112
47512
512412
620812
732012
877212
9304512
done500112

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 13.6b

localize18.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- x y) (- 1.0 y))
1.0b
(- 1.0 (/ (- x y) (- 1.0 y)))
4.8b
(log (- 1.0 (/ (- x y) (- 1.0 y))))

rewrite190.0ms

Algorithm
rewrite-expression-head
Rules
175×add-sqr-sqrt
169×*-un-lft-identity
102×times-frac
93×prod-diff
81×add-cube-cbrt
46×difference-of-squares
44×distribute-lft-out--
associate-/r/
flip3-- flip--
add-exp-log log-prod
associate-/r* add-cbrt-cube associate-/l* add-log-exp
pow1 div-inv
expm1-log1p-u fma-neg log1p-expm1-u
log-div div-sub associate-/l/
cbrt-undiv sub-neg frac-2neg diff-log div-exp rem-log-exp clear-num log-pow associate--r-
Counts
3 → 187
Calls
3 calls:
43.0ms
(/ (- x y) (- 1.0 y))
65.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
59.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

series269.0ms

Counts
3 → 9
Calls
3 calls:
59.0ms
(/ (- x y) (- 1.0 y))
80.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
129.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

simplify1.9s

Counts
196 → 196
Iterations

Useful iterations: done (1.9s)

IterNodesCost
03347257
18806681
234565082
done50024530

prune621.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize66.0ms

Local error

Found 4 expressions with local error:

2.6b
(/ (- x y) (- (pow 1.0 3) (pow y 3)))
4.8b
(log (+ (fma (fma 1.0 1.0 (* y (+ 1.0 y))) (- (/ (- x y) (- (pow 1.0 3) (pow y 3)))) (pow (cbrt 1.0) 3)) (* (/ (- x y) (- (pow 1.0 3) (pow y 3))) (+ (- (fma 1.0 1.0 (* y (+ 1.0 y)))) (fma 1.0 1.0 (* y (+ 1.0 y)))))))
10.1b
(+ (- (fma 1.0 1.0 (* y (+ 1.0 y)))) (fma 1.0 1.0 (* y (+ 1.0 y))))
14.4b
(fma (fma 1.0 1.0 (* y (+ 1.0 y))) (- (/ (- x y) (- (pow 1.0 3) (pow y 3)))) (pow (cbrt 1.0) 3))

rewrite95.0ms

Algorithm
rewrite-expression-head
Rules
240×add-sqr-sqrt
160×*-un-lft-identity
125×times-frac
122×difference-of-squares
72×unpow-prod-down cube-prod
56×distribute-lft-out--
48×sqr-pow
44×add-cube-cbrt
25×associate-/r*
10×fma-def
add-log-exp
add-exp-log distribute-lft-neg-in
difference-cubes distribute-rgt-neg-in add-cbrt-cube
pow1 associate-/l*
expm1-log1p-u distribute-rgt-out log1p-expm1-u distribute-lft-out
neg-mul-1 log-prod fma-udef
log-div flip3-- distribute-lft1-in flip3-+ sum-log associate-/r/ flip-- flip-+ associate-/l/
cbrt-undiv +-commutative neg-sub0 associate-+l- associate-+l+ associate-+r+ distribute-neg-in frac-2neg div-sub div-exp rem-log-exp neg-log clear-num log-pow div-inv
Counts
4 → 237
Calls
4 calls:
60.0ms
(/ (- x y) (- (pow 1.0 3) (pow y 3)))
4.0ms
(log (+ (fma (fma 1.0 1.0 (* y (+ 1.0 y))) (- (/ (- x y) (- (pow 1.0 3) (pow y 3)))) (pow (cbrt 1.0) 3)) (* (/ (- x y) (- (pow 1.0 3) (pow y 3))) (+ (- (fma 1.0 1.0 (* y (+ 1.0 y)))) (fma 1.0 1.0 (* y (+ 1.0 y)))))))
13.0ms
(+ (- (fma 1.0 1.0 (* y (+ 1.0 y)))) (fma 1.0 1.0 (* y (+ 1.0 y))))
0.0ms
(fma (fma 1.0 1.0 (* y (+ 1.0 y))) (- (/ (- x y) (- (pow 1.0 3) (pow y 3)))) (pow (cbrt 1.0) 3))

series406.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(/ (- x y) (- (pow 1.0 3) (pow y 3)))
194.0ms
(log (+ (fma (fma 1.0 1.0 (* y (+ 1.0 y))) (- (/ (- x y) (- (pow 1.0 3) (pow y 3)))) (pow (cbrt 1.0) 3)) (* (/ (- x y) (- (pow 1.0 3) (pow y 3))) (+ (- (fma 1.0 1.0 (* y (+ 1.0 y)))) (fma 1.0 1.0 (* y (+ 1.0 y)))))))
2.0ms
(+ (- (fma 1.0 1.0 (* y (+ 1.0 y)))) (fma 1.0 1.0 (* y (+ 1.0 y))))
129.0ms
(fma (fma 1.0 1.0 (* y (+ 1.0 y))) (- (/ (- x y) (- (pow 1.0 3) (pow y 3)))) (pow (cbrt 1.0) 3))

simplify1.7s

Counts
249 → 249
Iterations

Useful iterations: done (1.7s)

IterNodesCost
03396527
18285229
232934649
done50024647

prune1.4s

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize41.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y)))
1.0b
(- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))))
2.4b
(log (- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y)))))
4.8b
(log (+ 1.0 (/ (- x y) (- 1.0 y))))

rewrite234.0ms

Algorithm
rewrite-expression-head
Rules
240×*-un-lft-identity
166×add-sqr-sqrt
152×times-frac
76×distribute-lft-out--
58×add-cube-cbrt
55×swap-sqr
50×difference-of-squares
31×associate-*r* associate-*l*
18×add-exp-log
16×add-cbrt-cube
13×pow1
log-prod associate-/r/
flip3-- flip-- add-log-exp
cbrt-undiv expm1-log1p-u log-div div-exp prod-exp cbrt-unprod log1p-expm1-u div-inv unswap-sqr
rem-log-exp log-pow
pow2 frac-times sub-neg flip3-+ pow-plus fma-neg diff-log associate-*r/ prod-diff pow-prod-down associate-*l/ pow-sqr *-commutative pow-prod-up flip-+ distribute-lft-out
Counts
4 → 198
Calls
4 calls:
141.0ms
(* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y)))
9.0ms
(- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))))
10.0ms
(log (- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y)))))
54.0ms
(log (+ 1.0 (/ (- x y) (- 1.0 y))))

series667.0ms

Counts
4 → 12
Calls
4 calls:
66.0ms
(* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y)))
138.0ms
(- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))))
359.0ms
(log (- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y)))))
104.0ms
(log (+ 1.0 (/ (- x y) (- 1.0 y))))

simplify545.0ms

Counts
210 → 210
Iterations

Useful iterations: done (535.0ms)

IterNodesCost
03085098
110074650
done50004260

prune727.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize27.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (fma (/ x (pow y 2)) 1.0 (/ x y)) (/ 1.0 y))
3.4b
(log (- (fma (/ x (pow y 2)) 1.0 (/ x y)) (/ 1.0 y)))
4.5b
(fma (/ x (pow y 2)) 1.0 (/ x y))
9.0b
(/ x (pow y 2))

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
67×add-sqr-sqrt
61×*-un-lft-identity
57×add-cube-cbrt
53×times-frac
39×prod-diff
12×unpow-prod-down
10×add-exp-log
associate-/r*
log-prod add-cbrt-cube add-log-exp
pow1
expm1-log1p-u log1p-expm1-u div-inv unpow2 difference-of-squares sqr-pow
fma-neg div-exp associate-/l*
log-div flip3-- flip-- fma-udef distribute-lft-out--
cbrt-undiv pow-to-exp sub-neg frac-2neg diff-log rem-log-exp pow-exp associate--l+ clear-num log-pow
Counts
4 → 140
Calls
4 calls:
21.0ms
(- (fma (/ x (pow y 2)) 1.0 (/ x y)) (/ 1.0 y))
20.0ms
(log (- (fma (/ x (pow y 2)) 1.0 (/ x y)) (/ 1.0 y)))
0.0ms
(fma (/ x (pow y 2)) 1.0 (/ x y))
11.0ms
(/ x (pow y 2))

series257.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(- (fma (/ x (pow y 2)) 1.0 (/ x y)) (/ 1.0 y))
101.0ms
(log (- (fma (/ x (pow y 2)) 1.0 (/ x y)) (/ 1.0 y)))
67.0ms
(fma (/ x (pow y 2)) 1.0 (/ x y))
34.0ms
(/ x (pow y 2))

simplify1.9s

Counts
152 → 152
Iterations

Useful iterations: done (1.9s)

IterNodesCost
02913965
16473637
228012950
done50022526

prune597.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes184.0ms

Accuracy

94.8% (1.1b remaining)

Error of 1.2b against oracle of 0.1b and baseline of 20.5b

bsearch244.0ms

Steps
ItersRangePoint
11
0.10130402529439038
2.0110076054247779e+21
49288711.749988146
7
-9.538152714924134e+38
-9.047342624206561e+36
-9.186493886184318e+36

simplify8.0ms

Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
037101
14785
done4785

end0.0ms

sample2.5s

Algorithm
intervals
Results
715.0ms5690×body80valid
356.0ms817×body1280valid
264.0ms761×body640valid
257.0ms3604×body80nan
169.0ms361×body1280nan
114.0ms373×body640nan
84.0ms466×body320valid
40.0ms233×body320nan
31.0ms266×body160valid
11.0ms111×body160nan