Details

Time bar (total: 15.1s)

sample215.0ms

Algorithm
intervals
Results
102.0ms113×body1280valid
41.0ms75×body640valid
34.0ms256×pre80true
8.0ms22×body320valid
4.0ms37×body80valid
2.0msbody160valid

simplify30.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0155
1225
2335
3395
4505
5705
6995
71245
81665
92595
102605
112605

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 14.9b

localize11.0ms

Local error

Found 3 expressions with local error:

0.1b
(+ x (- (tan (+ y z)) (tan a)))
0.2b
(- (tan (+ y z)) (tan a))
5.7b
(tan (+ y z))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity
19×add-sqr-sqrt
18×prod-diff
17×add-cube-cbrt
11×associate-+r+
10×add-log-exp
tan-quot
pow1 add-exp-log expm1-log1p-u fma-def fma-neg add-cbrt-cube log1p-expm1-u
sub-neg tan-sum diff-log sum-log frac-sub distribute-lft-out distribute-lft-out--
+-commutative associate-+r- flip3-- flip3-+ flip-- flip-+ difference-of-squares
Counts
3 → 72
Calls
3 calls:
9.0ms
(+ x (- (tan (+ y z)) (tan a)))
8.0ms
(- (tan (+ y z)) (tan a))
3.0ms
(tan (+ y z))

series112.0ms

Counts
3 → 9
Calls
3 calls:
50.0ms
(+ x (- (tan (+ y z)) (tan a)))
43.0ms
(- (tan (+ y z)) (tan a))
19.0ms
(tan (+ y z))

simplify94.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 3 (87.0ms)

IterNodesCost
0276685
1732540
23128507
35001488

prune577.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.1b

localize22.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (+ (tan y) (tan z)) (cos a))
0.2b
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))
0.3b
(* (tan y) (tan z))
0.3b
(* (tan y) (tan z))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
19×associate-*l/
18×add-sqr-sqrt
15×add-exp-log add-cbrt-cube
14×tan-quot *-un-lft-identity
12×add-cube-cbrt
10×pow1 associate-*l*
associate-*r*
associate-/l/
frac-sub
flip3-- flip--
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u add-log-exp
flip3-+ times-frac pow-prod-down frac-add *-commutative flip-+ associate-/l* unswap-sqr
cbrt-undiv frac-times associate-*r/ div-exp associate-/r/
frac-2neg div-sub clear-num associate-/r* div-inv distribute-lft-out
Counts
4 → 104
Calls
4 calls:
14.0ms
(* (+ (tan y) (tan z)) (cos a))
23.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))
5.0ms
(* (tan y) (tan z))
6.0ms
(* (tan y) (tan z))

series277.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(* (+ (tan y) (tan z)) (cos a))
186.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))
25.0ms
(* (tan y) (tan z))
25.0ms
(* (tan y) (tan z))

simplify83.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
06071365
128281198
250021191

prune1.5s

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize26.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (tan y) (tan z))
0.3b
(* (tan y) (tan z))
0.3b
(pow (* (tan y) (tan z)) 3)
28.8b
(cbrt (pow (* (tan y) (tan z)) 3))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
16×tan-quot
14×add-sqr-sqrt
11×pow1 add-exp-log add-cbrt-cube
10×add-cube-cbrt *-un-lft-identity
cbrt-prod
cube-div associate-*r* associate-*l*
expm1-log1p-u frac-times associate-*r/ associate-*l/ log1p-expm1-u add-log-exp
pow-unpow cbrt-div pow-prod-down prod-exp cbrt-unprod
cube-mult unpow-prod-down pow-pow unpow3 cube-prod pow-exp *-commutative rem-cube-cbrt unswap-sqr sqr-pow
pow-to-exp pow1/3 rem-cbrt-cube
Counts
4 → 95
Calls
4 calls:
5.0ms
(* (tan y) (tan z))
5.0ms
(* (tan y) (tan z))
4.0ms
(pow (* (tan y) (tan z)) 3)
3.0ms
(cbrt (pow (* (tan y) (tan z)) 3))

series121.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(* (tan y) (tan z))
25.0ms
(* (tan y) (tan z))
44.0ms
(pow (* (tan y) (tan z)) 3)
27.0ms
(cbrt (pow (* (tan y) (tan z)) 3))

simplify51.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0273536
11362521
25003519

prune1.5s

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

localize27.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (tan y) (tan z))
0.3b
(* (tan y) (tan z))
0.3b
(* (tan y) (tan z))
0.3b
(* (* (tan y) (tan z)) (* (tan y) (tan z)))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
49×pow1
44×tan-quot
22×add-exp-log add-cbrt-cube
20×frac-times pow-prod-down
16×add-sqr-sqrt
14×associate-*r/ associate-*l/
11×prod-exp cbrt-unprod
10×add-cube-cbrt *-un-lft-identity associate-*r* associate-*l*
expm1-log1p-u pow-sqr *-commutative pow-prod-up log1p-expm1-u add-log-exp
unswap-sqr
pow-plus
pow2 swap-sqr
Counts
4 → 120
Calls
4 calls:
5.0ms
(* (tan y) (tan z))
5.0ms
(* (tan y) (tan z))
5.0ms
(* (tan y) (tan z))
24.0ms
(* (* (tan y) (tan z)) (* (tan y) (tan z)))

series116.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(* (tan y) (tan z))
28.0ms
(* (tan y) (tan z))
25.0ms
(* (tan y) (tan z))
37.0ms
(* (* (tan y) (tan z)) (* (tan y) (tan z)))

simplify52.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0319802
11443681
25001660

prune1.6s

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 0.0b

regimes1.9s

Accuracy

0% (0.1b remaining)

Error of 0.2b against oracle of 0.1b and baseline of 0.2b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03022
13022

end0.0ms

sample6.7s

Algorithm
intervals
Results
3.7s3876×body1280valid
1.2s1968×body640valid
954.0ms8000×pre80true
288.0ms689×body320valid
144.0ms1165×body80valid
81.0ms302×body160valid