Details

Time bar (total: 1.2m)

sample25.0ms

Algorithm
intervals
Results
10.0ms271×body80valid
1.0msbody640valid
0.0msbody160valid
0.0msbody320valid

simplify2.3s

Counts
1 → 1
Iterations

Useful iterations: 2 (13.0ms)

IterNodesCost
01215
15415
214714
333414
499614
5330514
done500014

prune8.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 1.2b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite56.0ms

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

series706.0ms

Counts
4 → 12
Calls
4 calls:
88.0ms
(tanh (/ x y))
90.0ms
(tanh (/ t y))
243.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
285.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

simplify673.0ms

Counts
101 → 101
Iterations

Useful iterations: done (669.0ms)

IterNodesCost
02052180
14761819
215501567
done50001413

prune308.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.3b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
33×cbrt-div
27×frac-sub
18×tanh-def
15×cbrt-prod
13×add-sqr-sqrt *-un-lft-identity
add-cube-cbrt
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
flip3-- pow1/3 flip-- distribute-lft-out-- difference-of-squares
fma-udef
Counts
4 → 88
Calls
4 calls:
0.0ms
(fma y (* (* z (* (cbrt (- (tanh (/ t y)) (tanh (/ x y)))) (cbrt (- (tanh (/ t y)) (tanh (/ x y)))))) (cbrt (- (tanh (/ t y)) (tanh (/ x y))))) x)
11.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
14.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
11.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))

series1.5s

Counts
4 → 12
Calls
4 calls:
281.0ms
(fma y (* (* z (* (cbrt (- (tanh (/ t y)) (tanh (/ x y)))) (cbrt (- (tanh (/ t y)) (tanh (/ x y)))))) (cbrt (- (tanh (/ t y)) (tanh (/ x y))))) x)
401.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
402.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
407.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))

simplify702.0ms

Counts
100 → 100
Iterations

Useful iterations: done (698.0ms)

IterNodesCost
01863407
15073320
215342939
done50002876

prune521.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.3b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite77.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:
15.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
2.0ms
(tanh (/ t y))
2.0ms
(tanh (/ x y))
54.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series607.0ms

Counts
4 → 12
Calls
4 calls:
250.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
88.0ms
(tanh (/ t y))
88.0ms
(tanh (/ x y))
180.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify1.1s

Counts
128 → 128
Iterations

Useful iterations: done (1.1s)

IterNodesCost
02173360
16342813
224372449
done50022218

prune371.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.2b

localize27.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (tanh (/ x y)) (tanh (/ x y)))
0.1b
(pow (tanh (/ t y)) 3)
5.4b
(* (* y z) (- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3)))
11.2b
(/ (* (* y z) (- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3))) (+ (* (tanh (/ t y)) (tanh (/ t y))) (+ (* (tanh (/ x y)) (tanh (/ x y))) (* (tanh (/ t y)) (tanh (/ x y))))))

rewrite1.3s

Algorithm
rewrite-expression-head
Rules
6780×frac-add
6102×frac-times
5437×tanh-def
3407×associate-/r/
2056×associate-*r/
2034×associate-*l/
288×prod-diff
184×add-sqr-sqrt
168×*-un-lft-identity
159×unpow-prod-down cube-prod
158×add-cube-cbrt
146×distribute-rgt-in distribute-lft-in
57×sqr-pow
49×cube-mult unpow3
39×cube-div
28×associate-*r*
21×add-exp-log add-cbrt-cube
18×frac-sub
17×pow1
16×flip3-+ flip-+ difference-of-squares
11×associate-/l/
prod-exp cbrt-unprod
distribute-lft-out--
expm1-log1p-u associate-*l* pow-prod-down log1p-expm1-u add-log-exp
cbrt-undiv pow-unpow times-frac swap-sqr div-exp associate-/r*
sub-neg flip3-- *-commutative flip--
difference-cubes pow2 pow-to-exp pow-pow frac-2neg pow-plus pow-exp clear-num pow-sqr pow-prod-up div-inv associate-/l* rem-cube-cbrt unswap-sqr
Counts
4 → 3858
Calls
4 calls:
20.0ms
(* (tanh (/ x y)) (tanh (/ x y)))
4.0ms
(pow (tanh (/ t y)) 3)
127.0ms
(* (* y z) (- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3)))
444.0ms
(/ (* (* y z) (- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3))) (+ (* (tanh (/ t y)) (tanh (/ t y))) (+ (* (tanh (/ x y)) (tanh (/ x y))) (* (tanh (/ t y)) (tanh (/ x y))))))

series17.8s

Counts
4 → 12
Calls
4 calls:
113.0ms
(* (tanh (/ x y)) (tanh (/ x y)))
137.0ms
(pow (tanh (/ t y)) 3)
394.0ms
(* (* y z) (- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3)))
17.1s
(/ (* (* y z) (- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3))) (+ (* (tanh (/ t y)) (tanh (/ t y))) (+ (* (tanh (/ x y)) (tanh (/ x y))) (* (tanh (/ t y)) (tanh (/ x y))))))

simplify4.6s

Counts
3870 → 3870
Iterations

Useful iterations: 0 (1.0s)

IterNodesCost
013752524303
done13752524303

prune40.4s

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.2b

regimes172.0ms

Accuracy

81% (0.9b remaining)

Error of 1.1b against oracle of 0.2b and baseline of 4.8b

bsearch2.0ms

simplify3.0ms

Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
02269
13161
done3161

end0.0ms

sample658.0ms

Algorithm
intervals
Results
314.0ms8325×body80valid
14.0ms101×body640valid
10.0ms48×body1280valid
9.0ms60×body320valid
3.0ms42×body160valid