Details

Time bar (total: 7.3s)

sample100.0ms

Algorithm
intervals
Results
49.0ms121×body1280valid
15.0ms66×body640valid
10.0ms256×pre80true
3.0ms22×body320valid
2.0ms36×body80valid
1.0ms11×body160valid

simplify20.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

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

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 11.9b

localize16.0ms

Local error

Found 3 expressions with local error:

0.1b
(- (tan (+ y z)) (tan a))
0.1b
(+ x (- (tan (+ y z)) (tan a)))
2.4b
(tan (+ y z))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity add-log-exp
add-sqr-sqrt
tan-quot
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
sub-neg tan-sum associate-+r+ diff-log sum-log frac-sub distribute-lft-out distribute-lft-out--
+-commutative associate-+r- flip3-- flip3-+ flip-- flip-+ difference-of-squares
Counts
3 → 42
Calls
3 calls:
6.0ms
(- (tan (+ y z)) (tan a))
5.0ms
(+ x (- (tan (+ y z)) (tan a)))
4.0ms
(tan (+ y z))

series277.0ms

Counts
3 → 9
Calls
3 calls:
109.0ms
(- (tan (+ y z)) (tan a))
119.0ms
(+ x (- (tan (+ y z)) (tan a)))
49.0ms
(tan (+ y z))

simplify39.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (13.0ms)

IterNodesCost
0196346
1467335
21316334
35002334

prune150.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.1b

localize15.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ (tan y) (tan z))
0.1b
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
0.1b
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
0.2b
(* (tan y) (tan z))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity
13×add-sqr-sqrt add-log-exp
tan-quot
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
associate-*r* associate-*l* sum-log distribute-lft-out
+-commutative sub-neg associate-+r+ flip3-+ diff-log flip-+ distribute-lft-out-- difference-of-squares
frac-times associate-+r- flip3-- times-frac associate-*r/ pow-prod-down associate-*l/ frac-add prod-exp *-commutative frac-sub flip-- cbrt-unprod unswap-sqr
Counts
4 → 67
Calls
4 calls:
4.0ms
(+ (tan y) (tan z))
12.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
11.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
5.0ms
(* (tan y) (tan z))

series863.0ms

Counts
4 → 12
Calls
4 calls:
88.0ms
(+ (tan y) (tan z))
322.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
365.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
88.0ms
(* (tan y) (tan z))

simplify76.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0367860
11074821
23057814
35001814

prune282.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.1b

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt *-un-lft-identity
11×add-exp-log add-cbrt-cube add-log-exp
add-cube-cbrt
pow1
times-frac
tan-quot associate-*r* associate-*l* associate-/r*
cbrt-undiv sub-neg associate-+r+ diff-log associate-*r/ div-exp prod-exp sum-log cbrt-unprod distribute-lft-out distribute-lft-out-- difference-of-squares
+-commutative associate-+r- flip3-- frac-2neg flip3-+ pow-prod-down clear-num *-commutative frac-sub flip-- flip-+ div-inv associate-/l/ associate-/l* unswap-sqr
Counts
4 → 74
Calls
4 calls:
18.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (/ (* (sin y) (tan z)) (cos y)))) (tan a)))
20.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (/ (* (sin y) (tan z)) (cos y)))) (tan a))
6.0ms
(/ (* (sin y) (tan z)) (cos y))
5.0ms
(* (sin y) (tan z))

series883.0ms

Counts
4 → 12
Calls
4 calls:
330.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (/ (* (sin y) (tan z)) (cos y)))) (tan a)))
378.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (/ (* (sin y) (tan z)) (cos y)))) (tan a))
98.0ms
(/ (* (sin y) (tan z)) (cos y))
76.0ms
(* (sin y) (tan z))

simplify43.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
03911035
11385960
25002951

prune350.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.1b

localize24.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (cbrt (pow (* (sin y) (tan z)) 3)) (cos y))
0.2b
(* (sin y) (tan z))
0.3b
(pow (* (sin y) (tan z)) 3)
28.7b
(cbrt (pow (* (sin y) (tan z)) 3))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
40×cbrt-prod
33×times-frac
30×add-sqr-sqrt
28×add-cube-cbrt *-un-lft-identity
11×add-exp-log associate-/l*
10×add-cbrt-cube
pow1
cube-mult unpow-prod-down unpow3 cube-prod sqr-pow
tan-quot associate-*r/ add-log-exp
cube-div pow-unpow associate-*r* associate-*l* associate-/r*
cbrt-div pow-pow pow-prod-down pow-exp prod-exp cbrt-unprod rem-cube-cbrt
cbrt-undiv pow-to-exp frac-2neg pow1/3 div-exp clear-num *-commutative rem-cbrt-cube div-inv associate-/l/ unswap-sqr
Counts
4 → 120
Calls
4 calls:
7.0ms
(/ (cbrt (pow (* (sin y) (tan z)) 3)) (cos y))
5.0ms
(* (sin y) (tan z))
5.0ms
(pow (* (sin y) (tan z)) 3)
4.0ms
(cbrt (pow (* (sin y) (tan z)) 3))

series355.0ms

Counts
4 → 12
Calls
4 calls:
98.0ms
(/ (cbrt (pow (* (sin y) (tan z)) 3)) (cos y))
75.0ms
(* (sin y) (tan z))
105.0ms
(pow (* (sin y) (tan z)) 3)
77.0ms
(cbrt (pow (* (sin y) (tan z)) 3))

simplify57.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
03501090
115651018
250011001

prune524.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0.1b

regimes287.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02515
12515

end0.0ms

sample2.8s

Algorithm
intervals
Results
1.6s3915×body1280valid
436.0ms1971×body640valid
305.0ms8000×pre80true
101.0ms689×body320valid
52.0ms1130×body80valid
30.0ms295×body160valid