Details

Time bar (total: 20.6s)

sample46.0ms

Algorithm
intervals
Results
20.0ms261×body80valid
3.0msbody640valid
0.0msbody320valid
0.0msbody160valid

simplify3.0s

Counts
1 → 1
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
01215
15415
214714
333414
4101214
5484414
done500014

prune28.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.4b

localize31.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ t y))
0.2b
(* z (- (tanh (/ t y)) (tanh (/ x y))))
0.3b
(- (tanh (/ t y)) (tanh (/ x y)))
0.5b
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

rewrite116.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt
29×*-un-lft-identity
27×prod-diff
25×add-cube-cbrt
18×frac-sub
13×tanh-def
11×distribute-rgt-in distribute-lft-in associate-*r/
pow1 add-exp-log add-cbrt-cube add-log-exp
associate-*r*
expm1-log1p-u log1p-expm1-u
sub-neg fma-neg associate-*l*
flip3-- flip-- distribute-lft-out-- difference-of-squares
diff-log pow-prod-down prod-exp *-commutative cbrt-unprod fma-udef unswap-sqr
Counts
4 → 114
Calls
4 calls:
4.0ms
(tanh (/ t y))
73.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
29.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
1.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

series1.2s

Counts
4 → 12
Calls
4 calls:
124.0ms
(tanh (/ t y))
346.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
358.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
395.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

simplify2.0s

Counts
126 → 126
Iterations

Useful iterations: done (2.0s)

IterNodesCost
02173259
15792726
223292368
done50002137

prune478.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.2b

localize55.0ms

Local error

Found 4 expressions with local error:

0.5b
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
0.6b
(cbrt (fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x))
0.6b
(cbrt (fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x))
0.6b
(cbrt (fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x))

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow1/3
fma-udef
Counts
4 → 49
Calls
4 calls:
0.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
1.0ms
(cbrt (fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x))
1.0ms
(cbrt (fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x))
1.0ms
(cbrt (fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x))

series2.2s

Counts
4 → 12
Calls
4 calls:
334.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
584.0ms
(cbrt (fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x))
664.0ms
(cbrt (fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x))
598.0ms
(cbrt (fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x))

simplify829.0ms

Counts
61 → 61
Iterations

Useful iterations: done (826.0ms)

IterNodesCost
0561176
11441161
23521040
310711025
done50011013

prune353.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.2b

localize82.0ms

Local error

Found 4 expressions with local error:

0.6b
(* (cbrt (cbrt (fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x))) (cbrt (cbrt (fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x))))
0.6b
(cbrt (cbrt (fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)))
0.6b
(cbrt (cbrt (fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)))
0.6b
(cbrt (cbrt (fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
81×cbrt-prod
40×add-sqr-sqrt
22×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3 swap-sqr associate-*r* associate-*l* unswap-sqr
add-exp-log
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 104
Calls
4 calls:
17.0ms
(* (cbrt (cbrt (fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x))) (cbrt (cbrt (fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x))))
1.0ms
(cbrt (cbrt (fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)))
1.0ms
(cbrt (cbrt (fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)))
2.0ms
(cbrt (cbrt (fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)))

series2.8s

Counts
4 → 12
Calls
4 calls:
944.0ms
(* (cbrt (cbrt (fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x))) (cbrt (cbrt (fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x))))
641.0ms
(cbrt (cbrt (fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)))
603.0ms
(cbrt (cbrt (fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)))
596.0ms
(cbrt (cbrt (fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)))

simplify1.3s

Counts
116 → 116
Iterations

Useful iterations: done (1.3s)

IterNodesCost
01143814
12813621
211133387
done50002998

prune643.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.2b

localize27.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ x y))
0.0b
(tanh (/ t y))
0.3b
(- (tanh (/ t y)) (tanh (/ x y)))
4.9b
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

rewrite99.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt *-un-lft-identity
27×prod-diff
24×add-cube-cbrt
18×frac-sub
14×tanh-def
11×distribute-rgt-in distribute-lft-in associate-*r/
pow1 add-exp-log add-cbrt-cube
add-log-exp
associate-*r*
expm1-log1p-u log1p-expm1-u
sub-neg fma-neg pow-prod-down prod-exp cbrt-unprod
flip3-- flip-- distribute-lft-out-- difference-of-squares
diff-log associate-*l* *-commutative
Counts
4 → 116
Calls
4 calls:
2.0ms
(tanh (/ x y))
2.0ms
(tanh (/ t y))
17.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
73.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series839.0ms

Counts
4 → 12
Calls
4 calls:
98.0ms
(tanh (/ x y))
128.0ms
(tanh (/ t y))
300.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
313.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify2.3s

Counts
128 → 128
Iterations

Useful iterations: done (2.3s)

IterNodesCost
02173360
16702813
237822455
done50002449

prune577.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.2b

regimes169.0ms

Accuracy

0% (2.9b remaining)

Error of 3.3b against oracle of 0.4b and baseline of 3.3b

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01447
11647
done1647

end0.0ms

sample1.4s

Algorithm
intervals
Results
766.0ms8317×body80valid
58.0ms96×body640valid
12.0ms60×body320valid
10.0ms27×body1280valid
4.0ms31×body160valid