Details

Time bar (total: 24.6s)

analyze18.2s

Algorithm
search
Search
TrueOtherFalseIter
0%0.2%99.8%0
0%0.2%99.8%1
0%0.2%99.8%2
0%0.2%99.8%3
0%0.2%99.8%4
0%0.2%99.8%5
0%0.2%99.8%6
0%0.2%99.8%7
0%0.2%99.8%8
0%0.2%99.8%9
0%0.2%99.8%10
0%0.2%99.8%11
0%0.2%99.8%12
0%0.2%99.8%13
0%0.2%99.8%14

sample133.0ms

Algorithm
intervals
Results
60.0ms117×body1280valid
20.0ms256×pre80true
17.0ms67×body640valid
13.0msbody160valid
4.0ms26×body320valid
2.0ms37×body80valid

simplify412.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (6.0ms)

IterNodesCost
01859
11859

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 10.9b

Counts
2 → 1

localize25.0ms

Local error

Found 3 expressions with local error:

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

rewrite20.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 diff-log sum-log frac-sub distribute-lft-out distribute-lft-out--
+-commutative associate-+r- associate-+r+ flip3-- flip3-+ flip-- flip-+ difference-of-squares
Counts
3 → 40
Calls
3 calls:
6.0ms
(+ x (- (tan (+ y z)) (tan a)))
7.0ms
(- (tan (+ y z)) (tan a))
6.0ms
(tan (+ y z))

series107.0ms

Counts
3 → 9
Calls
3 calls:
46.0ms
(+ x (- (tan (+ y z)) (tan a)))
35.0ms
(- (tan (+ y z)) (tan a))
26.0ms
(tan (+ y z))

simplify69.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 0 (63.0ms)

IterNodesCost
04916561
14916561

prune100.0ms

Filtered
39 candidates to 49 candidates (-25.6%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New42749
Fresh000
Picked101
Done000
Total43750

Merged error: 0.1b

Counts
50 → 7

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite42.0ms

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

series338.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
131.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
122.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
26.0ms
(* (tan y) (tan z))

simplify51.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
050841882

prune170.0ms

Filtered
76 candidates to 100 candidates (-31.6%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New946100
Fresh246
Picked101
Done000
Total9710107

Merged error: 0.1b

Counts
107 → 10

localize26.0ms

Local error

Found 4 expressions with local error:

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

rewrite54.0ms

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

series284.0ms

Counts
4 → 12
Calls
4 calls:
128.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (/ (* (sin y) (sin z)) (* (cos y) (cos z))))) (tan a)))
124.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (/ (* (sin y) (sin z)) (* (cos y) (cos z))))) (tan a))
10.0ms
(* (sin y) (sin z))
23.0ms
(/ (* (sin y) (sin z)) (* (cos y) (cos z)))

simplify38.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
049931656
149931656

prune127.0ms

Filtered
61 candidates to 85 candidates (-39.3%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New85085
Fresh099
Picked011
Done000
Total851095

Merged error: 0.1b

Counts
95 → 10

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite37.0ms

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

series299.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(+ (tan y) (tan z))
133.0ms
(+ x (- (* (+ (tan y) (tan z)) (/ 1 (- 1 (* (tan y) (tan z))))) (tan a)))
122.0ms
(- (* (+ (tan y) (tan z)) (/ 1 (- 1 (* (tan y) (tan z))))) (tan a))
22.0ms
(* (tan y) (tan z))

simplify49.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
050521478

prune84.0ms

Filtered
60 candidates to 80 candidates (-33.3%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New80080
Fresh088
Picked011
Done011
Total801090

Merged error: 0.1b

Counts
90 → 10

regimes792.0ms

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 (1.0ms)

IterNodesCost
06524
16524

end0.0ms

sample3.2s

Algorithm
intervals
Results
1.6s3866×body1280valid
548.0ms8000×pre80true
468.0ms1958×body640valid
116.0ms719×body320valid
58.0ms1169×body80valid
33.0ms288×body160valid

Profiling

Loading profile data...